diff options
author | Gregory Sanders <gsanders87@gmail.com> | 2021-05-24 18:58:49 +0800 |
---|---|---|
committer | Gregory Sanders <gsanders87@gmail.com> | 2021-05-26 07:33:09 +0800 |
commit | 881a3e2e17c5a6fdffb16a47a2eaff9029f261e5 (patch) | |
tree | 82294829f03ca21d696be6585cf7a77adc577263 /src/wallet/feebumper.cpp | |
parent | 3ad1b8899bfbf87ca4f06c20e8285bc8be31bbe8 (diff) |
Replace size/weight estimate tuple with struct for named fields
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 08adf09df4..30fef50c3b 100644 --- a/src/wallet/feebumper.cpp +++ b/src/wallet/feebumper.cpp @@ -190,7 +190,7 @@ Result CreateRateBumpTransaction(CWallet& wallet, const uint256& txid, const CCo if (coin_control.m_feerate) { // The user provided a feeRate argument. // We calculate this here to avoid compiler warning on the cs_wallet lock - const int64_t maxTxSize = CalculateMaximumSignedTxSize(*wtx.tx, &wallet).first; + const int64_t maxTxSize{CalculateMaximumSignedTxSize(*wtx.tx, &wallet).vsize}; Result res = CheckFeeRate(wallet, wtx, *new_coin_control.m_feerate, maxTxSize, errors); if (res != Result::OK) { return res; |