Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non-custodial-escrow not working #11

Open
lucas7788 opened this issue Dec 26, 2023 · 1 comment
Open

non-custodial-escrow not working #11

lucas7788 opened this issue Dec 26, 2023 · 1 comment

Comments

@lucas7788
Copy link

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

@lucas7788 lucas7788 changed the title non-custodial-escrow not workding non-custodial-escrow not working Dec 26, 2023
@krishnagitcontri
Copy link

assign this to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants