diff options
| author | Ross Nicoll <[email protected]> | 2015-07-26 12:22:04 +0000 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2015-07-26 12:25:03 +0000 |
| commit | d97a37f4a9553ec6c0e58abf0d1e67621b4ea1e3 (patch) | |
| tree | 5368cd349963752e3bfcd8d3970a1e51f1b5502d /src/init.cpp | |
| parent | Merge pull request #1201 from rnicoll/1.10-sync (diff) | |
| download | discoin-d97a37f4a9553ec6c0e58abf0d1e67621b4ea1e3.tar.xz discoin-d97a37f4a9553ec6c0e58abf0d1e67621b4ea1e3.zip | |
Use block height 0 when checking for genesis block
There is no previous block when validating the genesis block as part of contextual checks,
so block height cannot be used. Consensus parameters are now taken from height 0 for
the genesis check, and from block height only if the it's not the genesis block.
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions