diff options
| author | Pieter Wuille <[email protected]> | 2016-02-15 05:13:27 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-03-15 16:54:38 +0100 |
| commit | 6851107b3a52ec869e5e3a2cb4eb02d6c743b8e5 (patch) | |
| tree | 352e161e37993cd6f68c11d25c99606492829130 /src/primitives/block.h | |
| parent | Merge #7621: Fixes ZMQ startup with bad arguments. (diff) | |
| download | discoin-6851107b3a52ec869e5e3a2cb4eb02d6c743b8e5.tar.xz discoin-6851107b3a52ec869e5e3a2cb4eb02d6c743b8e5.zip | |
BIP9 Implementation
Inspired by former implementations by Eric Lombrozo and Rusty Russell, and
based on code by Jorge Timon.
Diffstat (limited to 'src/primitives/block.h')
| -rw-r--r-- | src/primitives/block.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/primitives/block.h b/src/primitives/block.h index 0e93399c0..42276b2bc 100644 --- a/src/primitives/block.h +++ b/src/primitives/block.h @@ -21,7 +21,6 @@ class CBlockHeader { public: // header - static const int32_t CURRENT_VERSION=4; int32_t nVersion; uint256 hashPrevBlock; uint256 hashMerkleRoot; @@ -49,7 +48,7 @@ public: void SetNull() { - nVersion = CBlockHeader::CURRENT_VERSION; + nVersion = 0; hashPrevBlock.SetNull(); hashMerkleRoot.SetNull(); nTime = 0; |