aboutsummaryrefslogtreecommitdiff
path: root/src/bench/coin_selection.cpp
diff options
context:
space:
mode:
authorKiminuo <kiminuo@protonmail.com>2021-09-09 07:53:16 +0200
committerKiminuo <kiminuo@protonmail.com>2021-11-09 11:27:06 +0100
commit2ec38bdebbdfd3f932eaa85c98b617d7b9326399 (patch)
treedeb39da0b3700ba18ab344ba977cd74f52dbdc2d /src/bench/coin_selection.cpp
parent94db963de501e4aba6e5d8150a01ceb85753dee1 (diff)
downloadbitcoin-2ec38bdebbdfd3f932eaa85c98b617d7b9326399.tar.xz
Remove `gArgs` from `wallet.h` and `wallet.cpp`
Co-authored-by: Russell Yanofsky <russ@yanofsky.org>
Diffstat (limited to 'src/bench/coin_selection.cpp')
-rw-r--r--src/bench/coin_selection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/coin_selection.cpp b/src/bench/coin_selection.cpp
index fd5145950b..f6a8c56743 100644
--- a/src/bench/coin_selection.cpp
+++ b/src/bench/coin_selection.cpp
@@ -32,7 +32,7 @@ static void CoinSelection(benchmark::Bench& bench)
{
NodeContext node;
auto chain = interfaces::MakeChain(node);
- CWallet wallet(chain.get(), "", CreateDummyWalletDatabase());
+ CWallet wallet(chain.get(), "", gArgs, CreateDummyWalletDatabase());
std::vector<std::unique_ptr<CWalletTx>> wtxs;
LOCK(wallet.cs_wallet);