diff options
| author | Riccardo Spagni <ric@spagni.net> | 2019-04-16 22:34:30 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2019-04-16 22:34:30 +0200 |
| commit | 45a4145f8745283ebce18b8059d65b8aa2f6a02e (patch) | |
| tree | 56e9d9a682d30adf0c52f1cad84595f75aa9d786 /tests/trezor | |
| parent | c41d02696c6bbdbb400ad79132f3ec0a3cdf88ab (diff) | |
| parent | ac874e2d402b9a1d366bcec304faa769553b46f9 (diff) | |
| download | monzero-core-45a4145f8745283ebce18b8059d65b8aa2f6a02e.tar.gz monzero-core-45a4145f8745283ebce18b8059d65b8aa2f6a02e.tar.xz monzero-core-45a4145f8745283ebce18b8059d65b8aa2f6a02e.zip | |
Merge pull request #5409
ac874e2d tests: fix test_options initialization error (Dusan Klinec)
Diffstat (limited to 'tests/trezor')
| -rw-r--r-- | tests/trezor/trezor_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/trezor/trezor_tests.cpp b/tests/trezor/trezor_tests.cpp index 31c2471ec..a867a4047 100644 --- a/tests/trezor/trezor_tests.cpp +++ b/tests/trezor/trezor_tests.cpp @@ -304,7 +304,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 |
