Skip to content

Commit

Permalink
refactor: include the proper header rather than forward-declaring Rem…
Browse files Browse the repository at this point in the history
…ovalReasonToString

This was not in its own header when it was added, but now that it is the
forward-declare makes no sense.
  • Loading branch information
theuni committed Oct 8, 2024
1 parent 772928a commit ca2e4ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/validationinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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.
*
Expand Down

0 comments on commit ca2e4ba

Please sign in to comment.