store client version on every request

This commit is contained in:
Ivan Socolsky 2015-06-29 08:41:59 -03:00
parent 4139cb0ae7
commit efcabce315
2 changed files with 2 additions and 1 deletions

View File

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

View File

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