Browse Source

rearrange static methods

activeAddress
Ivan Socolsky 9 years ago
parent
commit
781f2c44b7
  1. 15
      lib/server.js

15
lib/server.js

@ -52,12 +52,6 @@ function WalletService() {
this.notifyTicker = 0;
};
WalletService.getServiceVersion = function() {
if (!serviceVersion)
serviceVersion = 'bws-' + require('../package').version;
return serviceVersion;
};
// Time after which a Tx proposal can be erased by any copayer. in seconds
WalletService.DELETE_LOCKTIME = 24 * 3600;
@ -89,6 +83,15 @@ WalletService.FEE_LEVELS = [{
}];
/**
* Gets the current version of BWS
*/
WalletService.getServiceVersion = function() {
if (!serviceVersion)
serviceVersion = 'bws-' + require('../package').version;
return serviceVersion;
};
/**
* Initializes global settings for all instances.
* @param {Object} opts

Loading…
Cancel
Save