diff options
author | Thomas Winget <tewinget@gmail.com> | 2015-02-05 07:21:14 -0500 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2015-03-01 02:21:19 -0500 |
commit | 76289d0e3bf514db589169a464c0f6d45dae7043 (patch) | |
tree | d59813521e71fa41a124cfa7d6d30ace54773615 /tests/core_tests/chaingen.h | |
parent | revert stop_daemon method to use correct exit (diff) | |
download | monero-76289d0e3bf514db589169a464c0f6d45dae7043.tar.xz |
Fix tests building -- function signatures changed
Diffstat (limited to 'tests/core_tests/chaingen.h')
-rw-r--r-- | tests/core_tests/chaingen.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/core_tests/chaingen.h b/tests/core_tests/chaingen.h index d25a4f614..d187f36ca 100644 --- a/tests/core_tests/chaingen.h +++ b/tests/core_tests/chaingen.h @@ -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; |