use this_thread::sleep_for instead of sleep

This commit is contained in:
CJentzsch 2015-04-17 15:08:42 +02:00
parent 182b2a6219
commit 6a146f727b

View File

@ -289,7 +289,7 @@ void doBlockchainTests(json_spirit::mValue& _v, bool _fillin)
state = stateTemp; //revert state as if it was before executing this block
}
blArray.push_back(blObj);
sleep(1);
this_thread::sleep_for(chrono::seconds(1));
} //for blocks
if (o.count("expect") > 0)