Fix DerivationSchemeSettings.ToPrettyString()

This commit is contained in:
nicolas.dorier 2019-05-09 01:07:05 +09:00
parent d5579ef2b5
commit 0b6dfe0fd3
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -131,8 +131,8 @@ namespace BTCPayServer
} }
public string ToPrettyString() public string ToPrettyString()
{ {
return string.IsNullOrEmpty(Label) ? Label : return !string.IsNullOrEmpty(Label) ? Label :
String.IsNullOrEmpty(AccountOriginal) ? AccountOriginal : !String.IsNullOrEmpty(AccountOriginal) ? AccountOriginal :
ToString(); ToString();
} }
} }