aboutsummaryrefslogtreecommitdiff
path: root/tests/core_tests/chaingen.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-11-29 22:53:58 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-12-16 23:28:38 +0000
commit4abf25f3c901016803515771cc19997d9a95bacb (patch)
treed50394f78de54d35af9970c67631dc2a9b63914a /tests/core_tests/chaingen.h
parentMerge pull request #2881 (diff)
downloadmonero-4abf25f3c901016803515771cc19997d9a95bacb.tar.xz
cryptonote_core does not depend on p2p anymore
As a followon side effect, this makes a lot of inline code included only in particular cpp files (and instanciated when necessary.
Diffstat (limited to 'tests/core_tests/chaingen.h')
-rw-r--r--tests/core_tests/chaingen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core_tests/chaingen.h b/tests/core_tests/chaingen.h
index 7cad04047..0dcbc7f0c 100644
--- a/tests/core_tests/chaingen.h
+++ b/tests/core_tests/chaingen.h
@@ -467,7 +467,7 @@ inline bool do_replay_events(std::vector<test_event_entry>& events)
// FIXME: make sure that vm has arg_testnet_on set to true or false if
// this test needs for it to be so.
get_test_options<t_test_class> gto;
- if (!c.init(vm, &gto.test_options))
+ if (!c.init(vm, NULL, &gto.test_options))
{
MERROR("Failed to init core");
return false;