aboutsummaryrefslogtreecommitdiffstats
path: root/miner
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2018-09-10 22:12:39 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-09-11 21:40:00 +0800
commit4bb25042eb957662155079e06bb2efbdd866eb99 (patch)
tree87e6833f5c30b0bf2cec878f4689f689572c058b /miner
parent10bac3664702f31228eafedecf31e9bf115f6c29 (diff)
downloaddexon-4bb25042eb957662155079e06bb2efbdd866eb99.tar.gz
dexon-4bb25042eb957662155079e06bb2efbdd866eb99.tar.zst
dexon-4bb25042eb957662155079e06bb2efbdd866eb99.zip
consensus/clique, core: chain maker clique + error tests
Diffstat (limited to 'miner')
-rw-r--r--miner/worker_test.go1
1 files changed, 1 insertions, 0 deletions
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()