diff --git a/ethclient/ethclient.go b/ethclient/ethclient.go index 5a2720c603..0fc55300fe 100644 --- a/ethclient/ethclient.go +++ b/ethclient/ethclient.go @@ -133,7 +133,7 @@ func (ec *Client) getBlock(ctx context.Context, method string, args ...interface // Fill the sender cache of transactions in the block. txs := make([]*types.Transaction, len(body.Transactions)) for i, tx := range body.Transactions { - setSenderFromServer(tx.tx, tx.From) + setSenderFromServer(tx.tx, tx.From, body.Hash) txs[i] = tx.tx } return types.NewBlockWithHeader(head).WithBody(txs, uncles), nil