diff --git a/lib/blocks.js b/lib/blocks.js index 1a4dfbb..42e1018 100644 --- a/lib/blocks.js +++ b/lib/blocks.js @@ -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,