Skip to content

Commit 78c4f31

Browse files
authored
fix: error check (#738)
Signed-off-by: Ales Verbic <[email protected]>
1 parent 087deb2 commit 78c4f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ledger/verify_block.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func ExtractBlockData(
119119
)
120120
}
121121
txBodies, txBodiesError := GetTxBodies(txsRaw)
122-
if err != nil {
122+
if txBodiesError != nil {
123123
return nil, nil, nil, fmt.Errorf(
124124
"ExtractBlockData: GetTxBodies error, %v",
125125
txBodiesError.Error(),

0 commit comments

Comments
 (0)