Shawn Lu пре 1 година
родитељ
комит
da625e78fc
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/bridge/StargateClient.ts

+ 1 - 1
src/bridge/StargateClient.ts

@@ -20,7 +20,7 @@ export class StargateClient {
   async getFeeInfo(fromChainId: number, toChainId: number, sendAmount: bigint) {
     const dummyAddress = '0x0000000000000000000000000000000000000001'
     const fee = StargateFeeLibraryV07__factory.connect(chainInfoMap[fromChainId].feeAddress, this.wallet)
-    const { amount, eqFee, eqReward, lpFee, protocolFee, lkbRemove } = await fee.getFees(
+    const { eqFee, eqReward, lpFee, protocolFee, lkbRemove } = await fee.getFees(
       13n,
       13n,
       toChainId,