Delete password from the lnd seed backup

This commit is contained in:
nicolas.dorier 2019-11-16 14:07:43 +09:00
parent 84fe14a1ed
commit 4e5001d7ef
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -22,7 +22,7 @@ namespace BTCPayServer.Models.ServerViewModels
var removedDate = DateTime.UtcNow.ToString("yyyy-MM-dd HH:mm:ssZ", CultureInfo.InvariantCulture);
var seedFile = new LndSeedFile
{
wallet_password = WalletPassword,
wallet_password = "",
cipher_seed_mnemonic = new List<string> { $"Seed removed on {removedDate}" }
};
var json = JsonConvert.SerializeObject(seedFile);