diff --git a/lib/node.js b/lib/node.js index 66ce8af..8e4f9ca 100644 --- a/lib/node.js +++ b/lib/node.js @@ -374,6 +374,9 @@ Node.prototype.getBlockNumber = function() Node.prototype.canUpdate = function() { + if (this.trusted) { + return true; + } // return (this.info.canUpdateHistory && this.trusted) || false; return (this.info.canUpdateHistory || (this.stats.syncing === false && this.stats.peers > 0)) || false; } diff --git a/lib/utils/config.js b/lib/utils/config.js index bca9c16..8222c64 100644 --- a/lib/utils/config.js +++ b/lib/utils/config.js @@ -17,6 +17,7 @@ var trusted = [ '172.31.39.87', '86.120.171.69', '86.123.155.6', + '188.24.81.133', '::ffff:127.0.0.1', ];