fix: the genesis block always had version 0

This commit is contained in:
Jude Nelson
2022-12-02 17:23:39 -05:00
parent ab7ca1ede5
commit 8ab42735e4

View File

@@ -93,7 +93,7 @@ impl StacksBlockHeader {
pub fn genesis_block_header() -> StacksBlockHeader {
StacksBlockHeader {
version: STACKS_BLOCK_VERSION,
version: 0,
total_work: StacksWorkScore::genesis(),
proof: VRFProof::empty(),
parent_block: BOOT_BLOCK_HASH.clone(),