better logging for duplicate blocks
This commit is contained in:
parent
7ea1a3c666
commit
5e1127c624
@ -398,8 +398,8 @@ Node.prototype.validateLatestBlock = function (error, result, timeString)
|
|||||||
if( _.isEqual(JSON.stringify(this.stats.block), JSON.stringify(block)) )
|
if( _.isEqual(JSON.stringify(this.stats.block), JSON.stringify(block)) )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
console.log(this.stats.block);
|
console.info(this.stats.block);
|
||||||
console.log(block);
|
console.info(block);
|
||||||
console.warn("Blocks are different... updating block");
|
console.warn("Blocks are different... updating block");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user