You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
lucas7788
changed the title
non-custodial-escrow not workding
non-custodial-escrow not working
Dec 26, 2023
error[E0599]: no function or associated item named
get
found for structInitializeBumps
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
The text was updated successfully, but these errors were encountered: