From 4bb25042eb957662155079e06bb2efbdd866eb99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Mon, 10 Sep 2018 17:12:39 +0300 Subject: consensus/clique, core: chain maker clique + error tests --- miner/worker_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'miner') diff --git a/miner/worker_test.go b/miner/worker_test.go index 6de1177cd..ad10d48ef 100644 --- a/miner/worker_test.go +++ b/miner/worker_test.go @@ -161,6 +161,7 @@ func testPendingStateAndBlock(t *testing.T, chainConfig *params.ChainConfig, eng t.Errorf("account balance mismatch: have %d, want %d", balance, 1000) } b.txPool.AddLocals(newTxs) + // Ensure the new tx events has been processed time.Sleep(100 * time.Millisecond) block, state = w.pending() -- cgit v1.2.3