diff --git a/.travis.yml b/.travis.yml index f759c00..80a5abe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,8 @@ language: node_js node_js: - '0.10' + - '0.12' + - '4' install: - npm install after_success: diff --git a/test/integration/server.js b/test/integration/server.js index 4fb0cb8..9d9eb07 100644 --- a/test/integration/server.js +++ b/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();