From 86128a61aeca18057b853e1743c345b528fb0c44 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 25 Sep 2017 11:18:39 +0200 Subject: [PATCH] ethclient: fixup --- ethclient/ethclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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