The signing context should not be passed to PSBT screen

This commit is contained in:
nicolas.dorier
2020-05-25 07:05:01 +09:00
parent 9e9b5945fe
commit cccf3ca617
6 changed files with 16 additions and 20 deletions

View File

@@ -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; }