send
This commit is contained in:
parent
eb733c5d3c
commit
7d0870aea0
6 changed files with 152 additions and 77 deletions
|
|
@ -843,5 +843,14 @@ console.log('[walletService.js.786:wallet:]',wallet, forceNew); //TODO
|
|||
|
||||
|
||||
|
||||
root.handleEncryptedWallet = function(client, cb) {
|
||||
if (!root.isEncrypted(client)) return cb();
|
||||
$rootScope.$emit('Local/NeedsPassword', false, function(err, password) {
|
||||
if (err) return cb(err);
|
||||
return cb(walletService.unlock(client, password));
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
return root;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue