mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-23 07:04:26 +01:00
The signing context should not be passed to PSBT screen
This commit is contained in:
@@ -2,11 +2,20 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using NBitcoin;
|
||||
|
||||
namespace BTCPayServer.Models.WalletViewModels
|
||||
{
|
||||
public class SigningContextModel
|
||||
{
|
||||
public SigningContextModel()
|
||||
{
|
||||
|
||||
}
|
||||
public SigningContextModel(PSBT psbt)
|
||||
{
|
||||
PSBT = psbt.ToBase64();
|
||||
}
|
||||
public string PSBT { get; set; }
|
||||
public string OriginalPSBT { get; set; }
|
||||
public string PayJoinEndpointUrl { get; set; }
|
||||
|
||||
@@ -10,7 +10,6 @@ namespace BTCPayServer.Models.WalletViewModels
|
||||
{
|
||||
public class WalletPSBTViewModel
|
||||
{
|
||||
public SigningContextModel SigningContext { get; set; } = new SigningContextModel();
|
||||
public string CryptoCode { get; set; }
|
||||
public string Decoded { get; set; }
|
||||
string _FileName;
|
||||
|
||||
Reference in New Issue
Block a user