aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2024-10-08 15:24:35 +0000
committerCory Fields <cory-nospam-@coryfields.com>2024-10-08 15:25:47 +0000
commitca2e4ba352cb0a3b5983c002b09ce15ebbf95177 (patch)
tree698098d51a1749d45e74759bfa0122db1b630835 /src
parent772928a13c2d6fcaebebb97165fb78adffd32fc2 (diff)
refactor: include the proper header rather than forward-declaring RemovalReasonToString
This was not in its own header when it was added, but now that it is the forward-declare makes no sense.
Diffstat (limited to 'src')
-rw-r--r--src/validationinterface.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/validationinterface.cpp b/src/validationinterface.cpp
index e8ff1d78e3..da2685d771 100644
--- a/src/validationinterface.cpp
+++ b/src/validationinterface.cpp
@@ -9,6 +9,7 @@
#include <consensus/validation.h>
#include <kernel/chain.h>
#include <kernel/mempool_entry.h>
+#include <kernel/mempool_removal_reason.h>
#include <logging.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
@@ -19,8 +20,6 @@
#include <unordered_map>
#include <utility>
-std::string RemovalReasonToString(const MemPoolRemovalReason& r) noexcept;
-
/**
* ValidationSignalsImpl manages a list of shared_ptr<CValidationInterface> callbacks.
*