bestBlock -> lastBlock

pull/5/head
cubedro 10 years ago
parent 18905b0718
commit 18ea9f106d
  1. 2
      lib/collection.js

@ -82,7 +82,7 @@ Collection.prototype.addBlock = function(id, stats, callback)
{ {
this._highestBlock = block.block.number; this._highestBlock = block.block.number;
this._externalAPI.write({ this._externalAPI.write({
action:"bestBlock", action:"lastBlock",
number: this._highestBlock number: this._highestBlock
}); });
} }

Loading…
Cancel
Save