aboutsummaryrefslogtreecommitdiff
path: root/tests/core_tests/chaingen.h
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2015-02-05 07:21:14 -0500
committerThomas Winget <tewinget@gmail.com>2015-03-01 02:21:19 -0500
commit76289d0e3bf514db589169a464c0f6d45dae7043 (patch)
treed59813521e71fa41a124cfa7d6d30ace54773615 /tests/core_tests/chaingen.h
parentrevert stop_daemon method to use correct exit (diff)
downloadmonero-76289d0e3bf514db589169a464c0f6d45dae7043.tar.xz
Fix tests building -- function signatures changed
Diffstat (limited to 'tests/core_tests/chaingen.h')
-rw-r--r--tests/core_tests/chaingen.h4
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;