btcpayserver/BTCPayServer/Models/WalletViewModels/SigningContextModel.cs
d11n 70fcd053cd
Signing context cleanup (#2568)
* Signing Context cleanup

Removes extra NBXSeedAvailable property in SigningContext, which got introduced in #2559. It is not needed since each view model involved already has it.

* Fix button in link
2021-06-15 17:35:23 +09:00

22 lines
513 B
C#

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 PayJoinBIP21 { get; set; }
public bool? EnforceLowR { get; set; }
public string ChangeAddress { get; set; }
}
}