From 5baeab6b2c36789486197124673acc35542c10f0 Mon Sep 17 00:00:00 2001 From: Dong-Ha Kim Date: Fri, 13 Oct 2023 13:11:14 +0200 Subject: [PATCH] fix: spread args in send with padded gas utils (#871) --- src/utils/transactions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/transactions.ts b/src/utils/transactions.ts index 6f6548d7c..23a28456d 100644 --- a/src/utils/transactions.ts +++ b/src/utils/transactions.ts @@ -72,7 +72,7 @@ export function sendWithPaddedGas( chainId, contract, method, - args + ...args ); return contract[method](...args, { gasLimit: gasToRecommend,