We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried to get Metadata in mpl-token-metadata 4.1.2.
let nft_metadata = Metadata::safe_deserialize(&mut ctx.accounts.mint_metadata.to_account_info().data.borrow_mut()).unwrap();
And I got this error:
logs: [ 'Program ComputeBudget111111111111111111111111111111 invoke [1]', 'Program ComputeBudget111111111111111111111111111111 success', 'Program ComputeBudget111111111111111111111111111111 invoke [1]', 'Program ComputeBudget111111111111111111111111111111 success', 'Program 11111111111111111111111111111111 invoke [1]', 'Program 11111111111111111111111111111111 success', 'Program HhfZ4hp3MN1uRkY4XGQ21WhfK5RaJtisAgYeqKUsLkZH invoke [1]', 'Program log: Instruction: InitUser', 'Program HhfZ4hp3MN1uRkY4XGQ21WhfK5RaJtisAgYeqKUsLkZH consumed 2359 of 599550 compute units', 'Program HhfZ4hp3MN1uRkY4XGQ21WhfK5RaJtisAgYeqKUsLkZH success', 'Program HhfZ4hp3MN1uRkY4XGQ21WhfK5RaJtisAgYeqKUsLkZH invoke [1]', 'Program log: Instruction: LockPnft', 'Program log: ProgramError occurred. Error Code: AccountBorrowFailed. Error Number: 51539607552. Error Message: Failed to borrow a reference to account data, already borrowed.', 'Program HhfZ4hp3MN1uRkY4XGQ21WhfK5RaJtisAgYeqKUsLkZH consumed 27326 of 597191 compute units', 'Program HhfZ4hp3MN1uRkY4XGQ21WhfK5RaJtisAgYeqKUsLkZH failed: instruction tries to borrow reference for an account which is already borrowed'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried to get Metadata in mpl-token-metadata 4.1.2.
And I got this error:
The text was updated successfully, but these errors were encountered: