Skip to content

Commit 09e526e

Browse files
committed
fix: report skip bridge fee accurately
1 parent 7523c69 commit 09e526e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/bridge/src/skip/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export class SkipBridgeProvider implements BridgeProvider {
166166
let transferFee: BridgeCoin & { chainId: number | string } = {
167167
...fromAsset,
168168
coinGeckoId: sourceAsset.coingecko_id,
169-
amount: "0",
169+
amount: (BigInt(fromAmount) - BigInt(route.amount_out)).toString(),
170170
chainId: fromChain.chainId,
171171
};
172172

0 commit comments

Comments
 (0)