Skip to content

Commit ca2e4ba

Browse files
committed
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.
1 parent 772928a commit ca2e4ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/validationinterface.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <consensus/validation.h>
1010
#include <kernel/chain.h>
1111
#include <kernel/mempool_entry.h>
12+
#include <kernel/mempool_removal_reason.h>
1213
#include <logging.h>
1314
#include <primitives/block.h>
1415
#include <primitives/transaction.h>
@@ -19,8 +20,6 @@
1920
#include <unordered_map>
2021
#include <utility>
2122

22-
std::string RemovalReasonToString(const MemPoolRemovalReason& r) noexcept;
23-
2423
/**
2524
* ValidationSignalsImpl manages a list of shared_ptr<CValidationInterface> callbacks.
2625
*

0 commit comments

Comments
 (0)