1
0
Fork 0
forked from lthn/blockchain

fixed unused var warning

This commit is contained in:
cryptozoidberg 2019-05-21 19:05:09 +02:00
parent 33a002982e
commit f77ca1767c
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -181,7 +181,7 @@ namespace currency {
wide_difficulty_type next_difficulty(vector<uint64_t>& timestamps, vector<wide_difficulty_type>& cumulative_difficulties, size_t target_seconds)
{
TIME_MEASURE_START_PD(target_calculating_enum_blocks);
// timestamps - first is latest, back - is oldest timestamps
if (timestamps.size() > DIFFICULTY_WINDOW)
{