Move PSBT flow into wizard

This commit is contained in:
Dennis Reimann
2021-07-27 17:01:00 +02:00
committed by Andrew Camilleri
parent 4371b81ef3
commit 3895b133a3
9 changed files with 269 additions and 202 deletions

View File

@@ -8,7 +8,7 @@ using NBitcoin;
namespace BTCPayServer.Models.WalletViewModels
{
public class WalletPSBTViewModel
public class WalletPSBTViewModel : WalletPSBTReadyViewModel
{
public string CryptoCode { get; set; }
public string Decoded { get; set; }
@@ -34,8 +34,6 @@ namespace BTCPayServer.Models.WalletViewModels
[Display(Name = "Upload PSBT from file")]
public IFormFile UploadedPSBTFile { get; set; }
public SigningContextModel SigningContext { get; set; } = new SigningContextModel();
public async Task<PSBT> GetPSBT(Network network)
{
if (UploadedPSBTFile != null)