Skip to content

Commit

Permalink
fix: error check (#738)
Browse files Browse the repository at this point in the history
Signed-off-by: Ales Verbic <verbotenj@blinklabs.io>
  • Loading branch information
verbotenj authored Oct 3, 2024
1 parent 087deb2 commit 78c4f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger/verify_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func ExtractBlockData(
)
}
txBodies, txBodiesError := GetTxBodies(txsRaw)
if err != nil {
if txBodiesError != nil {
return nil, nil, nil, fmt.Errorf(
"ExtractBlockData: GetTxBodies error, %v",
txBodiesError.Error(),
Expand Down

0 comments on commit 78c4f31

Please sign in to comment.