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/bench | |
parent | fa7e803f3e4df33117927aef6fef9bfaee4f410d (diff) |
Replace boost::optional with std::optional
Diffstat (limited to 'src/bench')
-rw-r--r-- | src/bench/wallet_balance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/wallet_balance.cpp b/src/bench/wallet_balance.cpp index aa436ee3ea..b385cec085 100644 --- a/src/bench/wallet_balance.cpp +++ b/src/bench/wallet_balance.cpp @@ -36,7 +36,7 @@ static void WalletBalance(benchmark::Bench& bench, const bool set_dirty, const b if (add_watchonly) importaddress(wallet, ADDRESS_WATCHONLY); for (int i = 0; i < 100; ++i) { - generatetoaddress(test_setup.m_node, address_mine.get_value_or(ADDRESS_WATCHONLY)); + generatetoaddress(test_setup.m_node, address_mine.value_or(ADDRESS_WATCHONLY)); generatetoaddress(test_setup.m_node, ADDRESS_WATCHONLY); } SyncWithValidationInterfaceQueue(); |