Skip to content

Commit 9be6666

Browse files
committed
typo and unneccessary parentheses
1 parent 2a01640 commit 9be6666

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wallet/feebumper.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ static CFeeRate EstimateFeeRate(CWallet* wallet, const CWalletTx& wtx, CCoinCont
123123
// the minimum of that and the wallet's conservative
124124
// WALLET_INCREMENTAL_RELAY_FEE value to future proof against changes to
125125
// network wide policy for incremental relay fee that our node may not be
126-
// aware of. This ensures we're over the over the required relay fee rate
126+
// aware of. This ensures we're over the required relay fee rate
127127
// (BIP 125 rule 4). The replacement tx will be at least as large as the
128128
// original tx, so the total fee will be greater (BIP 125 rule 3)
129129
CFeeRate node_incremental_relay_fee = wallet->chain().relayIncrementalFee();
@@ -314,7 +314,7 @@ Result CreateRateBumpTransaction(CWallet* wallet, const uint256& txid, const CCo
314314
// The user provided a feeRate argument.
315315
// We calculate this here to avoid compiler warning on the cs_wallet lock
316316
const int64_t maxTxSize = CalculateMaximumSignedTxSize(*wtx.tx, wallet);
317-
Result res = CheckFeeRate(wallet, wtx, *(new_coin_control.m_feerate), maxTxSize, errors);
317+
Result res = CheckFeeRate(wallet, wtx, *new_coin_control.m_feerate, maxTxSize, errors);
318318
if (res != Result::OK) {
319319
return res;
320320
}

0 commit comments

Comments
 (0)