From 68217a5f0e6f2d4e08159c6ed0a4917663cfa5a1 Mon Sep 17 00:00:00 2001 From: Denis Fadeev Date: Tue, 12 Nov 2024 14:19:28 +0300 Subject: [PATCH] call: fix withdraw and call --- examples/call/tasks/universalWithdrawAndCall.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/call/tasks/universalWithdrawAndCall.ts b/examples/call/tasks/universalWithdrawAndCall.ts index d23d4ed..8dbb886 100644 --- a/examples/call/tasks/universalWithdrawAndCall.ts +++ b/examples/call/tasks/universalWithdrawAndCall.ts @@ -64,7 +64,7 @@ const main = async (args: any, hre: HardhatRuntimeEnvironment) => { let message; - if (args.isArbitraryCall) { + if (args.callOptionsIsArbitraryCall) { let functionSignature = ethers.utils.id(args.function).slice(0, 10); message = ethers.utils.hexlify( ethers.utils.concat([functionSignature, encodedParameters])