forked from lthn/blockchain
fixed unused var warning
This commit is contained in:
parent
33a002982e
commit
f77ca1767c
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue