Updated fee service and cleaned console log from header service

This commit is contained in:
tenthirtyone 2017-07-25 14:32:28 -04:00
parent 594452e7ba
commit f7da83693e
2 changed files with 2 additions and 5 deletions

View File

@ -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]
];
};

View File

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