From 18ea9f106dc1d9e41684f7cee09c6716443ca72e Mon Sep 17 00:00:00 2001
From: cubedro <contact@siteshop.ro>
Date: Tue, 23 Jun 2015 23:41:30 +0300
Subject: [PATCH] bestBlock -> lastBlock

---
 lib/collection.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 				});
 			}