diff --git a/packages/sdk/src/restclient.spec.ts b/packages/sdk/src/restclient.spec.ts index 02c6b926..889b5424 100644 --- a/packages/sdk/src/restclient.spec.ts +++ b/packages/sdk/src/restclient.spec.ts @@ -108,7 +108,7 @@ async function instantiateContract( pen: Pen, codeId: number, beneficiaryAddress: string, - transferAmount: readonly Coin[], + transferAmount?: readonly Coin[], ): Promise { const memo = "Create an escrow instance"; const theMsg: MsgInstantiateContract = { @@ -120,7 +120,7 @@ async function instantiateContract( verifier: faucetAddress, beneficiary: beneficiaryAddress, }, - init_funds: transferAmount, + init_funds: transferAmount || [], }, }; const fee: StdFee = {