From 5e1127c624d691f686e4ead7de1470326fe7b2e6 Mon Sep 17 00:00:00 2001 From: cubedro Date: Tue, 2 Jun 2015 00:55:58 +0300 Subject: [PATCH] better logging for duplicate blocks --- lib/node.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node.js b/lib/node.js index fa8686e..6a8e799 100644 --- a/lib/node.js +++ b/lib/node.js @@ -398,8 +398,8 @@ Node.prototype.validateLatestBlock = function (error, result, timeString) if( _.isEqual(JSON.stringify(this.stats.block), JSON.stringify(block)) ) return false; - console.log(this.stats.block); - console.log(block); + console.info(this.stats.block); + console.info(block); console.warn("Blocks are different... updating block"); }