From d5c04ea0d6c9e849be3b5fc760398ef3db8374e1 Mon Sep 17 00:00:00 2001 From: Nico Arqueros <1622112+nicarq@users.noreply.github.com> Date: Mon, 18 Dec 2023 10:03:57 +0700 Subject: [PATCH] fix format --- packages/milkomeda-wsc/src/BridgeActions.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/milkomeda-wsc/src/BridgeActions.ts b/packages/milkomeda-wsc/src/BridgeActions.ts index 80280b4..854ae5e 100644 --- a/packages/milkomeda-wsc/src/BridgeActions.ts +++ b/packages/milkomeda-wsc/src/BridgeActions.ts @@ -193,17 +193,17 @@ class BridgeActions { { const txRequest = { to: this.bridgeAddress, - data: bridgeContract.interface.encodeFunctionData('submitUnwrappingRequest', [ + data: bridgeContract.interface.encodeFunctionData("submitUnwrappingRequest", [ { assetId: ethers.constants.HashZero, from: await signer.getAddress(), to: l1Destination, amount: amount.toString(), - } + }, ]), - value: ethers.utils.parseUnits(adaAmount.toString(), 18) + value: ethers.utils.parseUnits(adaAmount.toString(), 18), }; - + await signer.estimateGas(txRequest); await this.provider.getGasPrice(); }