Fixed current difficulty.
This commit is contained in:
parent
21e30645cd
commit
5bcfd8fcd8
@ -141,7 +141,7 @@ BlockController.prototype.transformBlock = function(block, info) {
|
||||
time: block.ts,
|
||||
nonce: block.nonce,
|
||||
bits: block.bits,
|
||||
difficulty: this._header.getDifficulty(),
|
||||
difficulty: this._header.getCurrentDifficulty(),
|
||||
chainwork: info.chainwork,
|
||||
confirmations: this._block.getTip().height - info.height + 1,
|
||||
previousblockhash: info.prevHash,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user