diff --git a/tests/core_tests/chaingen.h b/tests/core_tests/chaingen.h index d0d912cb..44170d11 100644 --- a/tests/core_tests/chaingen.h +++ b/tests/core_tests/chaingen.h @@ -472,7 +472,7 @@ inline bool replay_events_through_core(cryptonote::core& cr, const std::vector struct get_test_options { - const std::pair hard_forks[1] = {std::make_pair(1, 0)}; + const std::pair hard_forks[1] = {std::make_pair((uint8_t)1, (uint64_t)0)}; const cryptonote::test_options test_options = { hard_forks };