File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ func (h *ByronMainBlockHeader) Hash() string {
6666 // Prepend bytes for CBOR list wrapper
6767 // The block hash is calculated with these extra bytes, so we have to add them to
6868 // get the correct value
69- h .hash = generateBlockHeaderHash (h .Cbor (), []byte {0x82 , BLOCK_TYPE_BYRON_EBB })
69+ h .hash = generateBlockHeaderHash (h .Cbor (), []byte {0x82 , BLOCK_TYPE_BYRON_MAIN })
7070 }
7171 return h .hash
7272}
@@ -125,7 +125,7 @@ func (h *ByronEpochBoundaryBlockHeader) Hash() string {
125125 // Prepend bytes for CBOR list wrapper
126126 // The block hash is calculated with these extra bytes, so we have to add them to
127127 // get the correct value
128- h .hash = generateBlockHeaderHash (h .Cbor (), []byte {0x82 , BLOCK_TYPE_BYRON_MAIN })
128+ h .hash = generateBlockHeaderHash (h .Cbor (), []byte {0x82 , BLOCK_TYPE_BYRON_EBB })
129129 }
130130 return h .hash
131131}
You can’t perform that action at this time.
0 commit comments