diff --git a/lib/collection.js b/lib/collection.js index 2a631c9..9f625ab 100644 --- a/lib/collection.js +++ b/lib/collection.js @@ -82,7 +82,7 @@ Collection.prototype.addBlock = function(id, stats, callback) { this._highestBlock = block.block.number; this._externalAPI.write({ - action:"bestBlock", + action:"lastBlock", number: this._highestBlock }); }