mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
ethclient: fixup
This commit is contained in:
parent
7db0e665c0
commit
86128a61ae
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue