mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 23:03:45 +01:00
versionbits: Expose StateName function
Rather than essentially duplicating StateName in the unit tests, expose it via the impl header.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
using enum ThresholdState;
|
||||
|
||||
static std::string StateName(ThresholdState state)
|
||||
std::string StateName(ThresholdState state)
|
||||
{
|
||||
switch (state) {
|
||||
case DEFINED: return "defined";
|
||||
|
||||
Reference in New Issue
Block a user