diff --git a/eth/helper_test.go b/eth/helper_test.go index 3338af71d5c8..b14088a38506 100644 --- a/eth/helper_test.go +++ b/eth/helper_test.go @@ -138,7 +138,7 @@ func (p *testTxPool) Pending() (map[common.Address]types.Transactions, error) { batches := make(map[common.Address]types.Transactions) for _, tx := range p.pool { - from, _ := types.Sender(types.HomesteadSigner{}, tx) + from, _ := tx.Sponsor(types.HomesteadSigner{}) batches[from] = append(batches[from], tx) } for _, batch := range batches {