Browse Source

fix block chain tests creation

cl-refactor
CJentzsch 10 years ago
parent
commit
30b531d0ad
  1. 2
      test/libethereum/blockchain.cpp

2
test/libethereum/blockchain.cpp

@ -168,6 +168,8 @@ void doBlockchainTests(json_spirit::mValue& _v, bool _fillin)
{ {
uncleBlockQueue.import(&uncle.out(), bc); uncleBlockQueue.import(&uncle.out(), bc);
uncleBlockQueueList.push_back(uncle.out()); uncleBlockQueueList.push_back(uncle.out());
// wait until block is verified
this_thread::sleep_for(chrono::seconds(1));
} }
catch(...) catch(...)
{ {

Loading…
Cancel
Save