Add testnet flag

Source: cryptonotefoundation
This commit is contained in:
Zachary Michaels
2014-07-16 13:30:15 -04:00
committed by Riccardo Spagni
parent 32004a756c
commit 07470fd400
15 changed files with 137 additions and 52 deletions
+1 -1
View File
@@ -487,7 +487,7 @@ inline bool do_replay_events(std::vector<test_event_entry>& events)
cryptonote::cryptonote_protocol_stub pr; //TODO: stub only for this kind of test, make real validation of relayed objects
cryptonote::core c(&pr);
if (!c.init(vm))
if (!c.init(vm, false))
{
std::cout << concolor::magenta << "Failed to init core" << concolor::normal << std::endl;
return false;