Browse Source

store client version on every request

activeAddress
Ivan Socolsky 10 years ago
parent
commit
efcabce315
  1. 1
      lib/server.js
  2. 2
      test/integration/server.js

1
lib/server.js

@ -158,6 +158,7 @@ WalletService.getInstanceWithAuth = function(opts, cb) {
server.copayerId = opts.copayerId;
server.walletId = copayer.walletId;
server.clientVersion = opts.clientVersion;
return cb(null, server);
});
};

2
test/integration/server.js

@ -576,7 +576,7 @@ describe('Wallet service', function() {
describe('#getInstanceWithAuth', function() {
it.only('should get server instance for existing copayer', function(done) {
it('should get server instance for existing copayer', function(done) {
helpers.createAndJoinWallet(1, 2, function(s, wallet) {
var xpriv = TestData.copayers[0].xPrivKey;
var priv = TestData.copayers[0].privKey_1H_0;

Loading…
Cancel
Save