aboutsummaryrefslogtreecommitdiff
path: root/src/txdb.cpp
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2023-03-06 22:01:13 +0100
committerTheCharlatan <seb.kung@gmail.com>2023-03-13 17:09:54 +0100
commitaaced5633b81b2f08b993106a527e2a0e1d663c1 (patch)
tree092234ac7a2953d303bfa7060f07f544fa4b6e58 /src/txdb.cpp
parente7333b420e35054d9302f9c58fd47b6152cbd35f (diff)
refactor: Move error() from util/system.h to logging.h
error is a low-level function with a sole dependency on LogPrintf, which is defined in logging.h The background of this commit is an ongoing effort to decouple the libbitcoinkernel library from the ArgsManager defined in system.h. Moving the function out of system.h allows including it from a separate source file without including the ArgsManager definitions from system.h.
Diffstat (limited to 'src/txdb.cpp')
-rw-r--r--src/txdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txdb.cpp b/src/txdb.cpp
index 7257fb4959..15351a4355 100644
--- a/src/txdb.cpp
+++ b/src/txdb.cpp
@@ -6,11 +6,11 @@
#include <txdb.h>
#include <chain.h>
+#include <logging.h>
#include <pow.h>
#include <random.h>
#include <shutdown.h>
#include <uint256.h>
-#include <util/system.h>
#include <util/translation.h>
#include <util/vector.h>