From 9df266354eef7f6e226c5a7a01dfa698815df617 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 17 Jun 2019 11:41:14 +0200 Subject: [PATCH] core: fix pool tests --- core/tx_pool_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") }