aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpc/util.cpp
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2023-01-18 10:40:08 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2023-02-15 15:49:45 -0300
commit52f4d567d69425dfd514489079db80483024a80d (patch)
tree3a67717810348090c69f4d2e129b13d72829f10d /src/wallet/rpc/util.cpp
parent6c9b342c306b9e17024762c4ba8f1c64e9810ee2 (diff)
downloadbitcoin-52f4d567d69425dfd514489079db80483024a80d.tar.xz
refactor: remove <util/system.h> include from wallet.h
Since we no longer store a ref to the global `ArgsManager` inside the wallet, we can move the util/system.h include to the cpp. This dependency removal opened a can of worms, as few other places were, invalidly, depending on the wallet's header including it.
Diffstat (limited to 'src/wallet/rpc/util.cpp')
-rw-r--r--src/wallet/rpc/util.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/rpc/util.cpp b/src/wallet/rpc/util.cpp
index 31435a69ba..4d82e0a41f 100644
--- a/src/wallet/rpc/util.cpp
+++ b/src/wallet/rpc/util.cpp
@@ -6,6 +6,7 @@
#include <common/url.h>
#include <rpc/util.h>
+#include <util/system.h>
#include <util/translation.h>
#include <wallet/context.h>
#include <wallet/wallet.h>