fix typo on export profile
This commit is contained in:
parent
126a57d5ab
commit
0b1723ba09
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ Identity.prototype.toObj = function() {
|
||||||
Identity.prototype.exportEncryptedWithWalletInfo = function(opts) {
|
Identity.prototype.exportEncryptedWithWalletInfo = function(opts) {
|
||||||
var crypto = opts.cryptoUtil || cryptoUtil;
|
var crypto = opts.cryptoUtil || cryptoUtil;
|
||||||
var key = crypto.kdf(this.password);
|
var key = crypto.kdf(this.password);
|
||||||
return crypto.encrypt(key, this.exportWithWalletInfo);
|
return crypto.encrypt(key, this.exportWithWalletInfo(opts));
|
||||||
};
|
};
|
||||||
|
|
||||||
Identity.prototype.exportWithWalletInfo = function(opts) {
|
Identity.prototype.exportWithWalletInfo = function(opts) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue