From 41c280a963b90f3849be94d43fd5981e182b909d Mon Sep 17 00:00:00 2001 From: JBetz Date: Tue, 23 Apr 2024 10:56:13 +0200 Subject: [PATCH] Interpret minimum fee rates (mintxfee, paytxfee, mempoolminfee) in reference fee unit --- src/wallet/fees.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/fees.cpp b/src/wallet/fees.cpp index 6f81fa30a1..d057432735 100644 --- a/src/wallet/fees.cpp +++ b/src/wallet/fees.cpp @@ -18,7 +18,7 @@ CAmount GetRequiredFee(const CWallet& wallet, unsigned int nTxBytes) CAmount GetMinimumFee(const CWallet& wallet, unsigned int nTxBytes, const CCoinControl& coin_control, FeeCalculation* feeCalc) { - return GetMinimumFeeRate(wallet, coin_control, feeCalc).GetFee(nTxBytes); + return GetMinimumFeeRate(wallet, coin_control, feeCalc).GetFee(nTxBytes, coin_control.m_fee_asset); } CFeeRate GetRequiredFeeRate(const CWallet& wallet)