Skip to content

Commit

Permalink
Interpret minimum fee rates (mintxfee, paytxfee, mempoolminfee) in re…
Browse files Browse the repository at this point in the history
…ference fee unit
  • Loading branch information
JBetz committed Apr 23, 2024
1 parent 1fd9236 commit 41c280a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/fees.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 41c280a

Please sign in to comment.