From f7da83693ea6552b73c542733fb3ab2446341998 Mon Sep 17 00:00:00 2001 From: tenthirtyone Date: Tue, 25 Jul 2017 14:32:28 -0400 Subject: [PATCH] Updated fee service and cleaned console log from header service --- lib/services/fee/index.js | 5 ++--- lib/services/header/index.js | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/services/fee/index.js b/lib/services/fee/index.js index f636eab4..aa06a5a8 100644 --- a/lib/services/fee/index.js +++ b/lib/services/fee/index.js @@ -10,7 +10,7 @@ var FeeService = function(options) { pass: 'local321', host: 'localhost', protocol: 'http', - port: this._getDefaultPort() + port: 8333 }; BaseService.call(this, options); @@ -34,8 +34,7 @@ FeeService.prototype.stop = function(callback) { FeeService.prototype.getAPIMethods = function() { return [ - ['estimateFee', this, this.estimateFee, 1], - ['syncPercentage', this, this.syncPercentage, 0] + ['estimateFee', this, this.estimateFee, 1] ]; }; diff --git a/lib/services/header/index.js b/lib/services/header/index.js index ba61260b..cd0d1de5 100644 --- a/lib/services/header/index.js +++ b/lib/services/header/index.js @@ -34,8 +34,6 @@ HeaderService.STARTING_CHAINWORK = '00000000000000000000000000000000000000000000 // --- public prototype functions HeaderService.prototype.subscribe = function(name, emitter) { - -console.log(this.subscriptions, name); this.subscriptions[name].push(emitter); log.info(emitter.remoteAddress, 'subscribe:', 'header/' + name, 'total:', this.subscriptions[name].length);