coral-xyz / anchor-by-example

Anchor By Example
https://examples.anchor-lang.com
96 stars 24 forks source link

non-custodial-escrow not working #11

Open lucas7788 opened 11 months ago

lucas7788 commented 11 months ago
error[E0599]: no function or associated item named get found for struct InitializeBumps in the current scope --> programs/non-custodial-escrow/src/lib.rs:12:40 12 escrow.bump = InitializeBumps::get("escrow").unwrap(); ^^^ function or associated item not found in InitializeBumps ... 97 #[derive(Accounts)] -------- function or associated item get not found for this struct

= help: items from traits can only be used if the trait is implemented and in scope = note: the following traits define an item get, perhaps you need to implement one of them: candidate #1: SliceIndex candidate #2: ZeroCopyAccessor candidate #3: anchor_lang::solana_program::account_info::Account

krishnagitcontri commented 11 months ago

assign this to me