Skip to content

Commit

Permalink
use b6 values
Browse files Browse the repository at this point in the history
  • Loading branch information
sideninja committed Jul 29, 2024
1 parent 1629439 commit c4c3b08
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions models/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,12 @@ func decodeBlockBreakingChanges(encoded []byte) *Block {
if err := rlp.DecodeBytes(encoded, b6); err == nil {
return &Block{
Block: &types.Block{
ParentBlockHash: b5.ParentBlockHash,
Height: b5.Height,
Timestamp: b5.Timestamp,
TotalSupply: b5.TotalSupply,
ReceiptRoot: b5.ReceiptRoot,
ParentBlockHash: b6.ParentBlockHash,
Height: b6.Height,
Timestamp: b6.Timestamp,
TotalSupply: b6.TotalSupply,
ReceiptRoot: b6.ReceiptRoot,
TotalGasUsed: b6.TotalGasUsed,
},
TransactionHashes: b6.TransactionHashes,
}
Expand Down

0 comments on commit c4c3b08

Please sign in to comment.