Merge branch 'master' of https://github.com/metaplex-foundation/metaplex into instant-sale

This commit is contained in:
adamjeffries 2021-08-30 13:40:04 -05:00
commit e56c62dd6c
No known key found for this signature in database
GPG Key ID: 71C4DC054797A48C
1 changed files with 3 additions and 1 deletions

View File

@ -589,12 +589,14 @@ fn create_metadata_account_call(
mutable,
);
let mut instructions = vec![new_metadata_instruction];
let mut instructions = vec![];
if create_new_mint {
instructions.append(&mut new_mint_instructions)
}
instructions.push(new_metadata_instruction);
let mut transaction = Transaction::new_with_payer(&instructions, Some(&payer.pubkey()));
let recent_blockhash = client.get_recent_blockhash().unwrap().0;
let mut signers = vec![&payer];