aboutsummaryrefslogtreecommitdiff
path: root/ethclient
diff options
context:
space:
mode:
Diffstat (limited to 'ethclient')
-rw-r--r--ethclient/ethclient.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethclient/ethclient.go b/ethclient/ethclient.go
index c44a3e9..6dd4df8 100644
--- a/ethclient/ethclient.go
+++ b/ethclient/ethclient.go
@@ -126,7 +126,7 @@ func (ec *Client) getBlock(ctx context.Context, method string, args ...interface
if len(body.BlockExtraData) != 0 {
blockExtraDataDecoded, err := hexutil.Decode(body.BlockExtraData)
if err != nil {
- return nil, err
+ return nil, fmt.Errorf("problem parsing block extra data: %w", err)
}
blockExtraData = &blockExtraDataDecoded
}