diff --git a/packages/secure-clients/src/SolanaClient/BackpackSolanaWallet.ts b/packages/secure-clients/src/SolanaClient/BackpackSolanaWallet.ts index 1ce79aead..78d2c976e 100644 --- a/packages/secure-clients/src/SolanaClient/BackpackSolanaWallet.ts +++ b/packages/secure-clients/src/SolanaClient/BackpackSolanaWallet.ts @@ -169,11 +169,6 @@ export class BackpackSolanaWallet { const commitment = request.commitment; if (!isVersionedTransaction(tx)) { - if (signers) { - signers.forEach((s: Signer) => { - tx.partialSign(s); - }); - } if (!tx.feePayer) { tx.feePayer = publicKey; } @@ -181,6 +176,9 @@ export class BackpackSolanaWallet { const { blockhash } = await connection.getLatestBlockhash(commitment); tx.recentBlockhash = blockhash; } + if (signers) { + tx.partialSign(...signers); + } } else { if (signers) { tx.sign(signers);