This commit is contained in:
Matias Alejo Garcia 2014-10-21 09:57:54 -03:00
commit 39e85396db
7 changed files with 123 additions and 42 deletions

View file

@ -1169,7 +1169,7 @@ Wallet.fromObj = function(o, readOpts) {
* @desc Return a base64 encrypted version of the wallet
* @return {string} base64 encoded string
*/
Wallet.prototype.toEncryptedObj = function() {
Wallet.prototype.export = function() {
var walletObj = this.toObj();
return this.storage.encrypt(walletObj);
};