From 1f97572b9c0d339a8497340e7066050aba9d7694 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Thu, 25 May 2023 14:33:16 +0100 Subject: [PATCH] Fix `#include`s in `src/wallet` --- ci/test/06_script_b.sh | 3 +-- src/wallet/scriptpubkeyman.h | 15 +++++++++++++++ src/wallet/wallet.cpp | 1 + src/wallet/walletutil.h | 14 -------------- 4 files changed, 17 insertions(+), 16 deletions(-) diff --git a/ci/test/06_script_b.sh b/ci/test/06_script_b.sh index ce5163caa80..4c8b07c6a59 100755 --- a/ci/test/06_script_b.sh +++ b/ci/test/06_script_b.sh @@ -155,9 +155,8 @@ if [ "${RUN_TIDY}" = "true" ]; then # accepted in src/.bear-tidy-config # Filter out: # * qt qrc and moc generated files - # * walletutil (temporarily) # * secp256k1 - jq 'map(select(.file | test("src/qt/qrc_.*\\.cpp$|/moc_.*\\.cpp$|src/wallet/walletutil|src/secp256k1/src/") | not))' ../compile_commands.json > tmp.json + jq 'map(select(.file | test("src/qt/qrc_.*\\.cpp$|/moc_.*\\.cpp$|src/secp256k1/src/") | not))' ../compile_commands.json > tmp.json mv tmp.json ../compile_commands.json cd "${BASE_BUILD_DIR}/bitcoin-$HOST/" python3 "${DIR_IWYU}/include-what-you-use/iwyu_tool.py" \ diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h index 22b67c88e95..01a8dfd118c 100644 --- a/src/wallet/scriptpubkeyman.h +++ b/src/wallet/scriptpubkeyman.h @@ -5,6 +5,7 @@ #ifndef BITCOIN_WALLET_SCRIPTPUBKEYMAN_H #define BITCOIN_WALLET_SCRIPTPUBKEYMAN_H +#include #include #include