Skip to content

Commit

Permalink
bugfix: don't trap errors in GetPendingHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
wizeguyy committed Jan 25, 2023
1 parent 345f2bc commit 940abaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quaiclient/ethclient/ethclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ func (ec *Client) GetPendingHeader(ctx context.Context) (*types.Header, error) {
var pendingHeader *types.Header
err := ec.c.CallContext(ctx, &pendingHeader, "quai_getPendingHeader")
if err != nil {
return nil, nil
return nil, err
}
return pendingHeader, nil
}
Expand Down

0 comments on commit 940abaf

Please sign in to comment.