mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
tests: fix test_options initialization error
This commit is contained in:
parent
5dbcceb664
commit
ac874e2d40
5 changed files with 6 additions and 6 deletions
|
@ -293,7 +293,7 @@ static bool init_core_replay_events(std::vector<test_event_entry>& events, crypt
|
|||
|
||||
// Hardforks can be specified in events.
|
||||
v_hardforks_t hardforks;
|
||||
cryptonote::test_options test_options_tmp{};
|
||||
cryptonote::test_options test_options_tmp{nullptr, 0};
|
||||
const cryptonote::test_options * test_options_ = >o.test_options;
|
||||
if (extract_hard_forks(events, hardforks)){
|
||||
hardforks.push_back(std::make_pair((uint8_t)0, (uint64_t)0)); // terminator
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue