mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Actually enforce withdraw consensus rules
This commit is contained in:
parent
ef2ba60e18
commit
eb3d576a99
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue