Browse Source

Tests: Fix tests for Node.js 4

activeAddress
Braydon Fuller 9 years ago
parent
commit
c5274e6507
  1. 5
      test/integration/server.js

5
test/integration/server.js

@ -1271,12 +1271,13 @@ describe('Wallet service', function() {
var requestPubKey = reqPrivKey.toPublicKey();
var xPrivKey = TestData.copayers[0].xPrivKey_44H_0H_0H;
var sig = helpers.signRequestPubKey(requestPubKey, xPrivKey);
var requestPubKeyStr = requestPubKey.toString();
var sig = helpers.signRequestPubKey(requestPubKeyStr, xPrivKey);
var copayerId = Model.Copayer._xPubToCopayerId(TestData.copayers[0].xPubKey_44H_0H_0H);
opts = {
copayerId: copayerId,
requestPubKey: requestPubKey,
requestPubKey: requestPubKeyStr,
signature: sig,
};
ws = new WalletService();

Loading…
Cancel
Save