Skip to content

Commit 7697412

Browse files
committed
feat(block validation): ledger
1 parent 0cf2af6 commit 7697412

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

rust/immutable-ledger/src/validate.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,6 @@ pub fn genesis_validation(
114114
));
115115
};
116116

117-
// prev_block_id for the Genesis block MUST be a hash of the genesis_to_prev_hash bytes
118-
let _hash_size = match hasher {
119-
HashFunction::Blake3 => 32,
120-
HashFunction::Blake2b => 64,
121-
};
122-
123117
// last N bytes of encoding are the hash of the contents
124118
let genesis_block_contents = genesis_block.8 .0;
125119

0 commit comments

Comments
 (0)