Actually enforce withdraw consensus rules

This commit is contained in:
instagibbs 2016-05-11 12:24:59 -04:00 committed by Gregory Sanders
parent ef2ba60e18
commit eb3d576a99

View file

@ -2080,6 +2080,9 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
flags |= SCRIPT_VERIFY_NULLDUMMY;
}
//Enforce WITHDRAWPROOFVERIFY
flags |= SCRIPT_VERIFY_WITHDRAW;
int64_t nTime2 = GetTimeMicros(); nTimeForks += nTime2 - nTime1;
LogPrint("bench", " - Fork checks: %.2fms [%.2fs]\n", 0.001 * (nTime2 - nTime1), nTimeForks * 0.000001);