Skip to content

Commit

Permalink
fix(nitro): celestia::getProof, return error on unmarshall failure
Browse files Browse the repository at this point in the history
  • Loading branch information
emilianobonassi committed Jul 24, 2024
1 parent 7e97d40 commit 00d7e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion das/celestia/celestia.go
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ func (c *CelestiaDA) GetProof(ctx context.Context, msg []byte) ([]byte, error) {
if err != nil {
celestiaValidationFailureCounter.Inc(1)
log.Error("Couldn't unmarshal Celestia blob pointer", "err", err)
return nil, nil
return nil, err
}

// Get data root from a celestia node
Expand Down

0 comments on commit 00d7e40

Please sign in to comment.