aboutsummaryrefslogtreecommitdiffstats
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 81a5ae2c3..3acaaa0d1 100644
--- a/ethclient/ethclient.go
+++ b/ethclient/ethclient.go
@@ -163,7 +163,7 @@ func (ec *Client) TransactionByHash(ctx context.Context, hash common.Hash) (tx *
} else if len(raw) == 0 {
return nil, false, ethereum.NotFound
}
- if err := json.Unmarshal(raw, tx); err != nil {
+ if err := json.Unmarshal(raw, &tx); err != nil {
return nil, false, err
} else if _, r, _ := tx.RawSignatureValues(); r == nil {
return nil, false, fmt.Errorf("server returned transaction without signature")