From 8b570d469b06ca160c9e1be51c41c5d30dacce36 Mon Sep 17 00:00:00 2001 From: Sachu Shaji Abraham Date: Thu, 29 Aug 2024 16:08:01 +0530 Subject: [PATCH] chore: fix sui example docs this change uses the correct passphrase parameter for sending a sui transaction Ticket: WIN-3395 TICKET: WIN-3395 --- examples/ts/sui/multi-recipient-pay-transaction.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ts/sui/multi-recipient-pay-transaction.ts b/examples/ts/sui/multi-recipient-pay-transaction.ts index e53ec3000f..9a82b20681 100644 --- a/examples/ts/sui/multi-recipient-pay-transaction.ts +++ b/examples/ts/sui/multi-recipient-pay-transaction.ts @@ -22,7 +22,7 @@ const accessToken = ''; const walletId = ''; // TODO: set your passphrase for your wallet here -const passphrase = ''; +const walletPassphrase = ''; // TODO: set the recipients here, each recipient is an object with address and amount. const recipients = [ @@ -44,7 +44,7 @@ async function buildPayTx() { const response = await wallet.sendMany({ recipients, - passphrase, + walletPassphrase, type: 'transfer', }); console.log(util.inspect(response, { showHidden: false, depth: 5, colors: true }));