Skip to content

Commit fa58ae7

Browse files
author
MarcoFalke
committed
refactor: Add missing include for USE_BDB, USE_SQLITE to bench/wallet_ismine.cpp
It was included indirectly via src/wallet/test/util.h, however it is better to include what you use.
1 parent fa31908 commit fa58ae7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/bench/wallet_ismine.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5+
#if defined(HAVE_CONFIG_H)
6+
#include <config/bitcoin-config.h>
7+
#endif // HAVE_CONFIG_H
58
#include <bench/bench.h>
69
#include <interfaces/chain.h>
710
#include <key.h>
@@ -11,9 +14,9 @@
1114
#include <util/translation.h>
1215
#include <validationinterface.h>
1316
#include <wallet/context.h>
17+
#include <wallet/test/util.h>
1418
#include <wallet/wallet.h>
1519
#include <wallet/walletutil.h>
16-
#include <wallet/test/util.h>
1720

1821
namespace wallet {
1922
static void WalletIsMine(benchmark::Bench& bench, bool legacy_wallet, int num_combo = 0)

0 commit comments

Comments
 (0)