added auto backup after create/join
This commit is contained in:
parent
b40038a554
commit
eeb621b601
3 changed files with 4 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ BackupService.prototype.download = function(wallet) {
|
|||
var ew = wallet.toEncryptedObj();
|
||||
var timestamp = +(new Date());
|
||||
var walletName = this.getName(wallet);
|
||||
var filename = walletName + '-' + timestamp + '.json.aes';
|
||||
var filename = walletName + '-' + timestamp + '-keybackup.json.aes';
|
||||
var blob = new Blob([ew], {
|
||||
type: 'text/plain;charset=utf-8'
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue