diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-06-05 23:02:44 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-12-19 09:46:55 +0100 |
commit | fa4435e22f78f632a455016ce00a357009aac059 (patch) | |
tree | 2880dcbc02b4c6612c08759c1c4f7304a7328b53 /src/wallet/fees.cpp | |
parent | fa7e803f3e4df33117927aef6fef9bfaee4f410d (diff) |
Replace boost::optional with std::optional
Diffstat (limited to 'src/wallet/fees.cpp')
-rw-r--r-- | src/wallet/fees.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/fees.cpp b/src/wallet/fees.cpp index 249bc833c6..e87e315bf4 100644 --- a/src/wallet/fees.cpp +++ b/src/wallet/fees.cpp @@ -49,7 +49,7 @@ CFeeRate GetMinimumFeeRate(const CWallet& wallet, const CCoinControl& coin_contr // We will use smart fee estimation unsigned int target = coin_control.m_confirm_target ? *coin_control.m_confirm_target : wallet.m_confirm_target; // By default estimates are economical iff we are signaling opt-in-RBF - bool conservative_estimate = !coin_control.m_signal_bip125_rbf.get_value_or(wallet.m_signal_rbf); + bool conservative_estimate = !coin_control.m_signal_bip125_rbf.value_or(wallet.m_signal_rbf); // Allow to override the default fee estimate mode over the CoinControl instance if (coin_control.m_fee_mode == FeeEstimateMode::CONSERVATIVE) conservative_estimate = true; else if (coin_control.m_fee_mode == FeeEstimateMode::ECONOMICAL) conservative_estimate = false; |