From 0b1723ba092827907dcd4b3e471f0267c166d0ea Mon Sep 17 00:00:00 2001 From: Esteban Ordano Date: Tue, 28 Oct 2014 15:21:29 -0300 Subject: [PATCH] fix typo on export profile --- js/models/Identity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/models/Identity.js b/js/models/Identity.js index e26b39ec4..fa2bb437a 100644 --- a/js/models/Identity.js +++ b/js/models/Identity.js @@ -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) {