Skip to content

Commit

Permalink
rpcwallet.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan committed Feb 22, 2024
1 parent 62e220f commit ce211ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wallet/rpcwallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2323,8 +2323,8 @@ static RPCHelpMan settxfee()
LOCK(pwallet->cs_wallet);

CAmount nAmount = AmountFromValue(request.params[0]);
CFeeRate tx_fee_rate(nAmount, 10000000);
CFeeRate max_tx_fee_rate(pwallet->m_default_max_tx_fee, 4000000000);
CFeeRate tx_fee_rate(nAmount, 1000);
CFeeRate max_tx_fee_rate(pwallet->m_default_max_tx_fee, 1000);
if (tx_fee_rate == CFeeRate(0)) {
// automatic selection
} else if (tx_fee_rate < pwallet->chain().relayMinFee()) {
Expand Down

0 comments on commit ce211ca

Please sign in to comment.