From af623ede364197ec795ca92f495a17265a9bd578 Mon Sep 17 00:00:00 2001 From: JayJay1024 Date: Wed, 1 Nov 2023 10:14:55 +0800 Subject: [PATCH] update lnbridge estimate time --- packages/apps/src/bridges/lnbridge-base.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/apps/src/bridges/lnbridge-base.ts b/packages/apps/src/bridges/lnbridge-base.ts index 3865ac2e4..f083611b3 100644 --- a/packages/apps/src/bridges/lnbridge-base.ts +++ b/packages/apps/src/bridges/lnbridge-base.ts @@ -24,13 +24,17 @@ export class LnBridgeBase extends BaseBridge { symbol: "helix-symbol.svg", }; this.name = "Helix LnBridge"; - this.estimateTime = { min: 1, max: 30 }; + this.estimateTime = { min: 0, max: 1 }; } isLnBridge() { return true; } + formatEstimateTime(): string { + return "Within 1 minute"; + } + async getFee(args?: { baseFee?: bigint; protocolFee?: bigint; liquidityFeeRate?: bigint; transferAmount?: bigint }) { if (this.sourceToken) { return {