Browse Source

use 'bws-' prefix to match style of bwc clientVersion values

activeAddress
Gregg Zigler 10 years ago
parent
commit
bf76023869
  1. 2
      lib/server.js
  2. 2
      test/integration/server.js

2
lib/server.js

@ -50,7 +50,7 @@ function WalletService() {
this.blockchainExplorerOpts = blockchainExplorerOpts;
this.messageBroker = messageBroker;
this.notifyTicker = 0;
this.serverVersion = Package.version;
this.serverVersion = 'bws-' + Package.version;
};

2
test/integration/server.js

@ -756,7 +756,7 @@ describe('Wallet service', function() {
clientVersion: 'bwc-0.0.1',
});
server.clientVersion.should.equal('bwc-0.0.1');
should.exist(server.serverVersion);
server.serverVersion.indexOf('bws-').should.equal(0);
});
});

Loading…
Cancel
Save