From 8daf0170263c379e879ce684a501c6e04bd551d8 Mon Sep 17 00:00:00 2001 From: villanuevawill Date: Mon, 22 Jun 2020 13:12:42 -0600 Subject: [PATCH] Update to sponsor --- eth/helper_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {