Skip to content

Commit

Permalink
Fix invalid reference
Browse files Browse the repository at this point in the history
  • Loading branch information
marun committed Dec 19, 2023
1 parent 7ae92be commit 8732b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethclient/ethclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func (ec *client) BlockReceipts(ctx context.Context, blockNrOrHash rpc.BlockNumb
var r []*types.Receipt
err := ec.c.CallContext(ctx, &r, "eth_getBlockReceipts", blockNrOrHash)
if err == nil && r == nil {
return nil, ethereum.NotFound
return nil, interfaces.NotFound
}
return r, err
}
Expand Down

0 comments on commit 8732b35

Please sign in to comment.