mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-25 18:21:36 +08:00
fix: the genesis block always had version 0
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user