WIP test
This commit is contained in:
parent
e109550d9b
commit
39e85396db
7 changed files with 123 additions and 42 deletions
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue