Skip to content

Commit

Permalink
Merge pull request #583 from frankcrypto2023/dev/1.2
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
dindinw authored Dec 11, 2023
2 parents b3c9421 + 9f71156 commit a41c5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/blockchain/difficulty.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit a41c5fc

Please sign in to comment.