diff options
author | Thomas Winget <tewinget@gmail.com> | 2015-03-25 05:56:36 -0400 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2015-03-25 05:56:36 -0400 |
commit | 5c0bc0050ccfd579ed75be384e928e0165d6b2ce (patch) | |
tree | 7bce2200f19b05448cb719b54037a7c2c82d6bab /tests/core_tests/chaingen.h | |
parent | Merges #36 (diff) | |
parent | Merge pull request #243 (diff) | |
download | monero-5c0bc0050ccfd579ed75be384e928e0165d6b2ce.tar.xz |
Merge upstream updates into blockchain branch
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; |