Fix tests building -- function signatures changed

This commit is contained in:
Thomas Winget 2015-02-05 07:21:14 -05:00
parent db53e1956a
commit 76289d0e3b
No known key found for this signature in database
GPG key ID: 58131A160789E630
4 changed files with 7 additions and 3 deletions

View file

@ -487,7 +487,9 @@ 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, false))
// FIXME: make sure that vm has arg_testnet_on set to true or false if
// this test needs for it to be so.
if (!c.init(vm))
{
std::cout << concolor::magenta << "Failed to init core" << concolor::normal << std::endl;
return false;