diff --git a/core/blockchain/difficulty.go b/core/blockchain/difficulty.go index e0cdebdd..12595071 100644 --- a/core/blockchain/difficulty.go +++ b/core/blockchain/difficulty.go @@ -44,5 +44,5 @@ func (b *BlockChain) CalcNextRequiredDifficulty(timestamp time.Time, powType pow // find block node by pow type func (b *BlockChain) GetCurrentPowDiff(ib model.Block, powType pow.PowType) *big.Int { - return b.GetCurrentPowDiff(ib, powType) + return b.difficultyManager.GetCurrentPowDiff(ib, powType) }