From 30b531d0ad0442b890d8222d9e1e837fe5bb3084 Mon Sep 17 00:00:00 2001 From: CJentzsch Date: Mon, 1 Jun 2015 16:59:06 +0200 Subject: [PATCH] fix block chain tests creation --- test/libethereum/blockchain.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/libethereum/blockchain.cpp b/test/libethereum/blockchain.cpp index 0ff7e57f3..72cbc51dc 100644 --- a/test/libethereum/blockchain.cpp +++ b/test/libethereum/blockchain.cpp @@ -168,6 +168,8 @@ void doBlockchainTests(json_spirit::mValue& _v, bool _fillin) { uncleBlockQueue.import(&uncle.out(), bc); uncleBlockQueueList.push_back(uncle.out()); + // wait until block is verified + this_thread::sleep_for(chrono::seconds(1)); } catch(...) {