Expose FormatStateMessage

This commit is contained in:
Alex Morcos
2015-10-28 14:56:28 -04:00
parent 1f09287c66
commit 5f12263302
2 changed files with 3 additions and 1 deletions

View File

@@ -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(),