aboutsummaryrefslogtreecommitdiff
path: root/tests/trezor/trezor_tests.cpp
diff options
context:
space:
mode:
authorDusan Klinec <dusan.klinec@gmail.com>2019-04-07 18:15:20 +0200
committerDusan Klinec <dusan.klinec@gmail.com>2019-04-07 18:18:54 +0200
commitac874e2d402b9a1d366bcec304faa769553b46f9 (patch)
tree198be1a4cb3b7588813ce304cf301baaf31d1051 /tests/trezor/trezor_tests.cpp
parentMerge pull request #5364 (diff)
downloadmonero-ac874e2d402b9a1d366bcec304faa769553b46f9.tar.xz
tests: fix test_options initialization error
Diffstat (limited to 'tests/trezor/trezor_tests.cpp')
-rw-r--r--tests/trezor/trezor_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/trezor/trezor_tests.cpp b/tests/trezor/trezor_tests.cpp
index 8d5540328..fd02674ff 100644
--- a/tests/trezor/trezor_tests.cpp
+++ b/tests/trezor/trezor_tests.cpp
@@ -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_ = &gto.test_options;
if (extract_hard_forks(events, hardforks)){
hardforks.push_back(std::make_pair((uint8_t)0, (uint64_t)0)); // terminator