Skip to main content

All Questions

Filter by
Sorted by
Tagged with
3 votes
2 answers
127 views

How the scope for memcmp works when the struct has multiple strings?

Let's imagine I have this account and I want to filter all the Program Accounts by the author: pub struct EntryBook { title: String, author: String } How would be the offset to target the ...
Silvestre Vivo's user avatar