Merge 6baabc4d1d into merged_master (Bitcoin PR bitcoin/bitcoin#21430)

This commit is contained in:
Andrew Poelstra 2021-08-02 20:39:15 +00:00
commit 2fa422afec
7 changed files with 14 additions and 7 deletions

View file

@ -872,7 +872,7 @@ static RPCHelpMan getblocktemplate()
case ThresholdState::LOCKED_IN:
// Ensure bit is set in block version
pblock->nVersion |= g_versionbitscache.Mask(consensusParams, pos);
// FALL THROUGH to get vbavailable set...
[[fallthrough]];
case ThresholdState::STARTED:
{
const struct VBDeploymentInfo& vbinfo = VersionBitsDeploymentInfo[pos];