diff --git a/zp-relayer/services/fee/FeeManager.ts b/zp-relayer/services/fee/FeeManager.ts index 8200f93..f6f6a11 100644 --- a/zp-relayer/services/fee/FeeManager.ts +++ b/zp-relayer/services/fee/FeeManager.ts @@ -182,8 +182,9 @@ export abstract class FeeManager { const feeOptions = await this._fetchFeeOptions() const convertedFees = await feeOptions.convert(this.config.priceFeed) const scaledFees = convertedFees.applyFactor(this.config.scaleFactor) + const boundedFees = scaledFees.applyMinBound() - return scaledFees + return boundedFees } async getFeeOptions(useCached = true): Promise> { @@ -198,7 +199,6 @@ export abstract class FeeManager { logger.debug('Fallback to cache fee options') feeOptions = this.cachedFeeOptions.clone() } - feeOptions.applyMinBound() return feeOptions }