aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/feebumper.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-06-05 23:02:44 +0200
committerMarcoFalke <falke.marco@gmail.com>2020-12-19 09:46:55 +0100
commitfa4435e22f78f632a455016ce00a357009aac059 (patch)
tree2880dcbc02b4c6612c08759c1c4f7304a7328b53 /src/wallet/feebumper.cpp
parentfa7e803f3e4df33117927aef6fef9bfaee4f410d (diff)
downloadbitcoin-fa4435e22f78f632a455016ce00a357009aac059.tar.xz
Replace boost::optional with std::optional
Diffstat (limited to 'src/wallet/feebumper.cpp')
-rw-r--r--src/wallet/feebumper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/feebumper.cpp b/src/wallet/feebumper.cpp
index 1bbfa197d7..aea5e8e60a 100644
--- a/src/wallet/feebumper.cpp
+++ b/src/wallet/feebumper.cpp
@@ -231,7 +231,7 @@ Result CreateRateBumpTransaction(CWallet& wallet, const uint256& txid, const CCo
// Write back transaction
mtx = CMutableTransaction(*tx_new);
// Mark new tx not replaceable, if requested.
- if (!coin_control.m_signal_bip125_rbf.get_value_or(wallet.m_signal_rbf)) {
+ if (!coin_control.m_signal_bip125_rbf.value_or(wallet.m_signal_rbf)) {
for (auto& input : mtx.vin) {
if (input.nSequence < 0xfffffffe) input.nSequence = 0xfffffffe;
}