diff --git a/core/tx_pool_test.go b/core/tx_pool_test.go index 0619c1cefb..7f1832a43f 100644 --- a/core/tx_pool_test.go +++ b/core/tx_pool_test.go @@ -280,7 +280,7 @@ func TestTransactionQueue(t *testing.T) { pool.currentState.SetNonce(from, 2) pool.enqueueTx(tx.Hash(), tx) - <-pool.promoteExecutables([]common.Address{from}) + <-pool.requestPromoteExecutables(newAccountSet(pool.signer, from)) if _, ok := pool.pending[from].txs.items[tx.Nonce()]; ok { t.Error("expected transaction to be in tx pool") }