Merge pull request #43 from eordano/fix/profileexport
fix typo on export profile
This commit is contained in:
commit
ad45eca130
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