store client version on every request
This commit is contained in:
parent
4139cb0ae7
commit
efcabce315
|
@ -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);
|
||||
});
|
||||
};
|
||||
|
|
|
@ -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…
Reference in New Issue