Skip to content

Commit

Permalink
return correct result
Browse files Browse the repository at this point in the history
  • Loading branch information
backpacker69 committed Feb 17, 2020
1 parent 0d816a8 commit 9cffccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kernel.cpp
Expand Up @@ -124,7 +124,7 @@ bool IsBTC16BIPsEnabled(uint32_t nTimeTx)
// Whether a given block is subject to new v0.9 protocol
bool IsProtocolV09(const CBlockIndex* pindexPrev)
{
return (pindexPrev->nTime < (Params().NetworkIDString() != CBaseChainParams::MAIN ? nProtocolV09TestSwitchTime : nProtocolV09SwitchTime));
return (pindexPrev->nTime >= (Params().NetworkIDString() != CBaseChainParams::MAIN ? nProtocolV09TestSwitchTime : nProtocolV09SwitchTime));
}

// Get the last stake modifier and its generation time from a given block
Expand Down

0 comments on commit 9cffccb

Please sign in to comment.