Skip to content

Commit 19bd795

Browse files
committed
use types.Sender instead of signer.Sender
1 parent 5bcecf1 commit 19bd795

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/txpool/txpool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1390,7 +1390,7 @@ func (pool *TxPool) promoteExecutables(accounts []common.Address) []*types.Trans
13901390
// promote all promotable transactions
13911391
promoted := make([]*types.Transaction, 0, len(promotable))
13921392
for _, tx := range promotable {
1393-
from, _ := pool.signer.Sender(tx)
1393+
from, _ := types.Sender(pool.signer, tx) // already validated
13941394
if pool.promoteTx(from, tx.Hash(), tx) {
13951395
promoted = append(promoted, tx)
13961396
}

0 commit comments

Comments
 (0)