diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/versionbits.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/versionbits.cpp b/src/versionbits.cpp index 8047e17aa8..2dcbf0831d 100644 --- a/src/versionbits.cpp +++ b/src/versionbits.cpp @@ -107,7 +107,7 @@ ThresholdState AbstractThresholdConditionChecker::GetStateFor(const CBlockIndex* // return the numerical statistics of blocks signalling the specified BIP9 condition in this current period BIP9Stats AbstractThresholdConditionChecker::GetStateStatisticsFor(const CBlockIndex* pindex, const Consensus::Params& params) const { - BIP9Stats stats; + BIP9Stats stats = {}; stats.period = Period(params); stats.threshold = Threshold(params); |