Browse Source

use this_thread::sleep_for instead of sleep

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

2
test/blockchain.cpp

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

Loading…
Cancel
Save