fix: avoid double spend in sendAndConfirmTransaction
This commit is contained in:
committed by
Justin Starry
parent
d77818c18b
commit
f31f66a7c3
@@ -210,7 +210,9 @@ export class Transaction {
|
||||
let numReadonlySignedAccounts = 0;
|
||||
let numReadonlyUnsignedAccounts = 0;
|
||||
|
||||
const accountKeys = this.signatures.map(({publicKey}) => publicKey.toString());
|
||||
const accountKeys = this.signatures.map(({publicKey}) =>
|
||||
publicKey.toString(),
|
||||
);
|
||||
const programIds: string[] = [];
|
||||
const accountMetas: AccountMeta[] = [];
|
||||
this.instructions.forEach(instruction => {
|
||||
|
Reference in New Issue
Block a user