mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-25 16:31:29 +02:00
typo and unneccessary parentheses
This commit is contained in:
parent
2a0164085b
commit
9be6666a4e
@ -123,7 +123,7 @@ static CFeeRate EstimateFeeRate(CWallet* wallet, const CWalletTx& wtx, CCoinCont
|
|||||||
// the minimum of that and the wallet's conservative
|
// the minimum of that and the wallet's conservative
|
||||||
// WALLET_INCREMENTAL_RELAY_FEE value to future proof against changes to
|
// WALLET_INCREMENTAL_RELAY_FEE value to future proof against changes to
|
||||||
// network wide policy for incremental relay fee that our node may not be
|
// network wide policy for incremental relay fee that our node may not be
|
||||||
// aware of. This ensures we're over the over the required relay fee rate
|
// aware of. This ensures we're over the required relay fee rate
|
||||||
// (BIP 125 rule 4). The replacement tx will be at least as large as the
|
// (BIP 125 rule 4). The replacement tx will be at least as large as the
|
||||||
// original tx, so the total fee will be greater (BIP 125 rule 3)
|
// original tx, so the total fee will be greater (BIP 125 rule 3)
|
||||||
CFeeRate node_incremental_relay_fee = wallet->chain().relayIncrementalFee();
|
CFeeRate node_incremental_relay_fee = wallet->chain().relayIncrementalFee();
|
||||||
@ -314,7 +314,7 @@ Result CreateRateBumpTransaction(CWallet* wallet, const uint256& txid, const CCo
|
|||||||
// The user provided a feeRate argument.
|
// The user provided a feeRate argument.
|
||||||
// We calculate this here to avoid compiler warning on the cs_wallet lock
|
// We calculate this here to avoid compiler warning on the cs_wallet lock
|
||||||
const int64_t maxTxSize = CalculateMaximumSignedTxSize(*wtx.tx, wallet);
|
const int64_t maxTxSize = CalculateMaximumSignedTxSize(*wtx.tx, wallet);
|
||||||
Result res = CheckFeeRate(wallet, wtx, *(new_coin_control.m_feerate), maxTxSize, errors);
|
Result res = CheckFeeRate(wallet, wtx, *new_coin_control.m_feerate, maxTxSize, errors);
|
||||||
if (res != Result::OK) {
|
if (res != Result::OK) {
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user