From e5f565600b4baf81af2dd6beb0951f13fc9d4a1d Mon Sep 17 00:00:00 2001 From: steveluscher Date: Mon, 13 May 2024 22:11:37 +0000 Subject: [PATCH] Partial sign transactions in a batch --- .../secure-clients/src/SolanaClient/BackpackSolanaWallet.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/secure-clients/src/SolanaClient/BackpackSolanaWallet.ts b/packages/secure-clients/src/SolanaClient/BackpackSolanaWallet.ts index a760daa5d..78d2c976e 100644 --- a/packages/secure-clients/src/SolanaClient/BackpackSolanaWallet.ts +++ b/packages/secure-clients/src/SolanaClient/BackpackSolanaWallet.ts @@ -177,9 +177,7 @@ export class BackpackSolanaWallet { tx.recentBlockhash = blockhash; } if (signers) { - signers.forEach((s: Signer) => { - tx.partialSign(s); - }); + tx.partialSign(...signers); } } else { if (signers) {