diff --git a/packages/secure-clients/src/SolanaClient/BackpackSolanaWallet.ts b/packages/secure-clients/src/SolanaClient/BackpackSolanaWallet.ts index 1ce79aead..a760daa5d 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,11 @@ export class BackpackSolanaWallet { const { blockhash } = await connection.getLatestBlockhash(commitment); tx.recentBlockhash = blockhash; } + if (signers) { + signers.forEach((s: Signer) => { + tx.partialSign(s); + }); + } } else { if (signers) { tx.sign(signers);