aboutsummaryrefslogtreecommitdiff
path: root/src/bench/wallet_create_tx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bench/wallet_create_tx.cpp')
-rw-r--r--src/bench/wallet_create_tx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/wallet_create_tx.cpp b/src/bench/wallet_create_tx.cpp
index 5e5bc76fd2..160534b63c 100644
--- a/src/bench/wallet_create_tx.cpp
+++ b/src/bench/wallet_create_tx.cpp
@@ -70,7 +70,7 @@ void generateFakeBlock(const CChainParams& params,
// notify wallet
const auto& pindex = WITH_LOCK(::cs_main, return context.chainman->ActiveChain().Tip());
- wallet.blockConnected(kernel::MakeBlockInfo(pindex, &block));
+ wallet.blockConnected(ChainstateRole::NORMAL, kernel::MakeBlockInfo(pindex, &block));
}
struct PreSelectInputs {