This commit is contained in:
nicolas.dorier
2019-05-13 08:55:26 +09:00
parent a7edbfe5e9
commit d1556eb6cd
6 changed files with 44 additions and 27 deletions

View File

@@ -9,6 +9,18 @@ namespace BTCPayServer.Models.WalletViewModels
public class WalletPSBTViewModel
{
public string Decoded { get; set; }
string _FileName;
public string FileName
{
get
{
return string.IsNullOrEmpty(_FileName) ? "psbt-export.psbt" : _FileName;
}
set
{
_FileName = value;
}
}
public string PSBT { get; set; }
public List<string> Errors { get; set; } = new List<string>();