Skip to content

Commit

Permalink
Adding unmarshalling error print
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBger committed Jan 19, 2024
1 parent a4e7f79 commit d1175da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/tools/compare/tools_compare_blocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ func readBundle[B firecore.Block](

b := blockFactory()
if err = curBlock.Payload.UnmarshalTo(b); err != nil {
fmt.Println("Error unmarshalling block", curBlock.Number, ":", err)
break
}

Expand Down

0 comments on commit d1175da

Please sign in to comment.