Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information