diff options
| author | Johnson Lau <[email protected]> | 2016-08-31 19:38:23 +0800 |
|---|---|---|
| committer | Johnson Lau <[email protected]> | 2016-08-31 19:38:23 +0800 |
| commit | 482f852da65457eb2fbea6b259e7568133fb81c4 (patch) | |
| tree | db5babd2bac902f8dde5bd0f80730633c9dba700 /src/main.cpp | |
| parent | Merge #8462: Move AdvertiseLocal debug output to net category (diff) | |
| download | discoin-482f852da65457eb2fbea6b259e7568133fb81c4.tar.xz discoin-482f852da65457eb2fbea6b259e7568133fb81c4.zip | |
Implement NULLDUMMY softfork
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 5160e6075..7eb7194a3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2387,6 +2387,7 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin // Start enforcing WITNESS rules using versionbits logic. if (IsWitnessEnabled(pindex->pprev, chainparams.GetConsensus())) { flags |= SCRIPT_VERIFY_WITNESS; + flags |= SCRIPT_VERIFY_NULLDUMMY; } int64_t nTime2 = GetTimeMicros(); nTimeForks += nTime2 - nTime1; |