diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2020-12-06 00:14:17 +0000 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2020-12-06 00:22:40 +0000 |
commit | 12dcdaaa54b9a4c55384e6b04379da8125fa6e7d (patch) | |
tree | bf2c64baa3c7642c7b5a716ba788936b22e6f447 /src/wallet/feebumper.cpp | |
parent | f35e4d906fee907f28ac5d8f32d4948e6b7b14c3 (diff) |
Don't make "in" parameters look like "out"/"in-out" parameters: pass by ref to const instead of ref to non-const
Diffstat (limited to 'src/wallet/feebumper.cpp')
-rw-r--r-- | src/wallet/feebumper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/feebumper.cpp b/src/wallet/feebumper.cpp index 6cbad14de8..7a8bc0b7f3 100644 --- a/src/wallet/feebumper.cpp +++ b/src/wallet/feebumper.cpp @@ -111,7 +111,7 @@ static feebumper::Result CheckFeeRate(const CWallet& wallet, const CWalletTx& wt return feebumper::Result::OK; } -static CFeeRate EstimateFeeRate(const CWallet& wallet, const CWalletTx& wtx, const CAmount old_fee, CCoinControl& coin_control) +static CFeeRate EstimateFeeRate(const CWallet& wallet, const CWalletTx& wtx, const CAmount old_fee, const CCoinControl& coin_control) { // Get the fee rate of the original transaction. This is calculated from // the tx fee/vsize, so it may have been rounded down. Add 1 satoshi to the |