Merge pull request #43 from eordano/fix/profileexport

fix typo on export profile
This commit is contained in:
Matias Alejo Garcia 2014-10-28 15:23:00 -03:00
commit ad45eca130
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ Identity.prototype.toObj = function() {
Identity.prototype.exportEncryptedWithWalletInfo = function(opts) {
var crypto = opts.cryptoUtil || cryptoUtil;
var key = crypto.kdf(this.password);
return crypto.encrypt(key, this.exportWithWalletInfo);
return crypto.encrypt(key, this.exportWithWalletInfo(opts));
};
Identity.prototype.exportWithWalletInfo = function(opts) {