mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
Delete password from the lnd seed backup
This commit is contained in:
parent
84fe14a1ed
commit
4e5001d7ef
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user