diff options
author | Péter Szilágyi <peterke@gmail.com> | 2018-09-10 22:12:39 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-09-11 21:40:00 +0800 |
commit | 4bb25042eb957662155079e06bb2efbdd866eb99 (patch) | |
tree | 87e6833f5c30b0bf2cec878f4689f689572c058b /miner/worker_test.go | |
parent | 10bac3664702f31228eafedecf31e9bf115f6c29 (diff) | |
download | dexon-4bb25042eb957662155079e06bb2efbdd866eb99.tar dexon-4bb25042eb957662155079e06bb2efbdd866eb99.tar.gz dexon-4bb25042eb957662155079e06bb2efbdd866eb99.tar.bz2 dexon-4bb25042eb957662155079e06bb2efbdd866eb99.tar.lz dexon-4bb25042eb957662155079e06bb2efbdd866eb99.tar.xz dexon-4bb25042eb957662155079e06bb2efbdd866eb99.tar.zst dexon-4bb25042eb957662155079e06bb2efbdd866eb99.zip |
consensus/clique, core: chain maker clique + error tests
Diffstat (limited to 'miner/worker_test.go')
-rw-r--r-- | miner/worker_test.go | 1 |
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() |