declare version
continuous-integration/drone/pr Build is passing Details

pull/323/head
wowario 4 years ago
parent f6533856df
commit 2a6d817ea1
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -1035,6 +1035,7 @@ size_t Blockchain::recalculate_difficulties(boost::optional<uint64_t> start_heig
std::vector<difficulty_type> new_cumulative_difficulties;
for (uint64_t height = start_height; height <= top_height; ++height)
{
uint8_t version = get_current_hard_fork_version();
uint64_t T = DIFFICULTY_TARGET_V2;
uint64_t N = DIFFICULTY_WINDOW_V3;
uint64_t HEIGHT = m_db->height();

Loading…
Cancel
Save