Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
Merge pull request #37 from isocolsky/fix/walletPrivKey
Browse files Browse the repository at this point in the history
Fix/wallet priv key
  • Loading branch information
matiu committed Mar 19, 2015
2 parents ef2b007 + 486152d commit e1100e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ API.prototype.joinWallet = function(secret, copayerName, cb) {
self._doJoinWallet(secretData.walletId, secretData.walletPrivKey, self.credentials.xPubKey, self.credentials.requestPubKey, copayerName,
function(err, wallet) {
if (err) return cb(err);
self.credentials.addWalletInfo(wallet.id, wallet.name, wallet.m, wallet.n, secretData.walletPrivKey, copayerName);
self.credentials.addWalletInfo(wallet.id, wallet.name, wallet.m, wallet.n, secretData.walletPrivKey.toString(), copayerName);
return cb(null, wallet);
});
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "bitcore-wallet-client",
"description": "Client for bitcore-wallet-service",
"author": "BitPay Inc",
"version": "0.0.7",
"version": "0.0.8",
"keywords": [
"bitcoin",
"copay",
Expand Down

0 comments on commit e1100e6

Please sign in to comment.