needless refactor fixed

This commit is contained in:
Christopher Franko 2017-04-19 14:49:01 -04:00
parent 0b7c82fc14
commit f07c3c69b7

View file

@ -363,7 +363,7 @@ func calcDifficultyFrontier(time, parentTime uint64, parentNumber, parentDiff *b
}
periodCount := new(big.Int).Add(parentNumber, common.Big1)
periodCount.Div(periodCount, ExpDiffPeriod)
periodCount.Div(periodCount, )
if periodCount.Cmp(common.Big1) > 0 {
// diff = diff + 2^(periodCount - 2)
expDiff := periodCount.Sub(periodCount, common.Big2)