mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-19 15:04:19 +01:00
Move PSBT flow into wizard
This commit is contained in:
committed by
Andrew Camilleri
parent
4371b81ef3
commit
3895b133a3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user