Questions tagged [iter]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

What does range full operator do in borsh serialize?

I follow hackernoon-solana to see the syntax in non anchor project. this is the function signature pub fn process_instruction(program_id:&Pubkey,accounts:&[AccountInfo],input:&[u8])->...
Yilmaz's user avatar
  • 1,079
1 vote
1 answer

Iterate through Vec data and modify a field

I have the following code. Its a loop of an account's stored Vec that have an address and a number on it structure. Inside the loop, if a vec's address is the payer addres, then I want to substract 1 ...
user3688985's user avatar