diff options
| author | Alex Morcos <[email protected]> | 2015-10-28 14:56:28 -0400 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2015-12-01 10:10:25 -0500 |
| commit | 5f122633020ce5d9f78c73394cda576a8657a3ac (patch) | |
| tree | b12d5bef8c24b435bdc7e158b74692f4ca672436 /src/main.cpp | |
| parent | Make accessing mempool parents and children public (diff) | |
| download | discoin-5f122633020ce5d9f78c73394cda576a8657a3ac.tar.xz discoin-5f122633020ce5d9f78c73394cda576a8657a3ac.zip | |
Expose FormatStateMessage
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index fb6d32b2f..e9e982043 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -816,7 +816,7 @@ CAmount GetMinRelayFee(const CTransaction& tx, const CTxMemPool& pool, unsigned } /** Convert CValidationState to a human-readable message for logging */ -static std::string FormatStateMessage(const CValidationState &state) +std::string FormatStateMessage(const CValidationState &state) { return strprintf("%s%s (code %i)", state.GetRejectReason(), |