Fix tests

This commit is contained in:
nicolas.dorier
2019-11-16 15:07:02 +09:00
parent 4e5001d7ef
commit 8ebac28ccf
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ namespace BTCPayServer.Models.ServerViewModels
var unlockFileContents = File.ReadAllText(lndSeedFilePath);
var unlockFile = JsonConvert.DeserializeObject<LndSeedFile>(unlockFileContents);
if (!String.IsNullOrEmpty(unlockFile.wallet_password))
if (unlockFile.wallet_password != null)
{
return new LndSeedBackupViewModel
{