added encryption backup support
This commit is contained in:
parent
5b09440828
commit
c995f039c2
3 changed files with 21 additions and 0 deletions
|
|
@ -268,6 +268,11 @@ Wallet.fromObj = function(o, storage, network, blockchain) {
|
|||
return w;
|
||||
};
|
||||
|
||||
Wallet.prototype.toEncryptedObj = function() {
|
||||
var walletObj = this.toObj();
|
||||
return this.storage.export(walletObj);
|
||||
};
|
||||
|
||||
Wallet.prototype.sendTxProposals = function(recipients) {
|
||||
this.log('### SENDING txProposals TO:', recipients || 'All', this.txProposals);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue