From baf101ef4a05ae4d24ed717c16be929456775969 Mon Sep 17 00:00:00 2001 From: Javier Smooth Date: Fri, 13 Nov 2015 00:24:47 -0800 Subject: More changes for 2-min blocks Use the correct block time for realtime fuzz on locktime Use the correct block time to calculate next_difficulty on alt chains (will not work as-is with voting) Lock unit tests to original block time for now --- src/cryptonote_core/difficulty.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/cryptonote_core/difficulty.cpp') diff --git a/src/cryptonote_core/difficulty.cpp b/src/cryptonote_core/difficulty.cpp index 2b5466791..3c3f1dec1 100644 --- a/src/cryptonote_core/difficulty.cpp +++ b/src/cryptonote_core/difficulty.cpp @@ -157,8 +157,4 @@ namespace cryptonote { return (low + time_span - 1) / time_span; } - difficulty_type next_difficulty(vector timestamps, vector cumulative_difficulties) - { - return next_difficulty(std::move(timestamps), std::move(cumulative_difficulties), DIFFICULTY_TARGET); - } } -- cgit v1.2.3