1
0
Fork 0
forked from lthn/blockchain

Revert "temporary disable block major version check"

This reverts commit 5a5497a476.
This commit is contained in:
sowle 2019-08-15 07:15:08 +03:00
parent 5a5497a476
commit 4db9e078ef
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -494,7 +494,7 @@ namespace currency
BEGIN_SERIALIZE()
FIELD(major_version)
//if(major_version > CURRENT_BLOCK_MAJOR_VERSION) return false;
if(major_version > CURRENT_BLOCK_MAJOR_VERSION) return false;
FIELD(nonce)
FIELD(prev_id)
VARINT_FIELD(minor_version)