fix typo on export profile

This commit is contained in:
Esteban Ordano 2014-10-28 15:21:29 -03:00
commit 0b1723ba09

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) {