consensus/clique, core: chain maker clique + error tests

This commit is contained in:
Péter Szilágyi
2018-09-10 17:12:39 +03:00
parent 10bac36647
commit 4bb25042eb
5 changed files with 195 additions and 75 deletions

View File

@ -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()