mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
Fix Taproot checks after code removal
Necessary additions to 8d6c5dcd65
This commit is contained in:
parent
8d6c5dcd65
commit
c67b2be9d2
@ -21,7 +21,6 @@
|
||||
{
|
||||
ViewData.Add(nameof(Model.CanUseHotWallet), Model.CanUseHotWallet);
|
||||
ViewData.Add(nameof(Model.CanUseRPCImport), Model.CanUseRPCImport);
|
||||
ViewData.Add(nameof(Model.IsTaprootActivated), Model.IsTaprootActivated);
|
||||
ViewData.Add(nameof(Model.SupportSegwit), Model.SupportSegwit);
|
||||
ViewData.Add(nameof(Model.SupportTaproot), Model.SupportTaproot);
|
||||
ViewData.Add(nameof(Model.Method), Model.Method);
|
||||
|
@ -86,7 +86,7 @@
|
||||
<tr>
|
||||
<td class="font-monospace">pkh(xpub…/0/*)</td>
|
||||
</tr>
|
||||
@if (Model.SupportTaproot && Model.IsTaprootActivated)
|
||||
@if (Model.SupportTaproot)
|
||||
{
|
||||
<tr>
|
||||
<td rowspan="1">P2TR</td>
|
||||
|
@ -7,7 +7,6 @@
|
||||
var isHotWallet = method is WalletSetupMethod.HotWallet;
|
||||
var canUseHotWallet = ViewData["CanUseHotWallet"] is true;
|
||||
var canUseRpcImport = ViewData["CanUseRPCImport"] is true;
|
||||
var isTaprootActivated = ViewData["IsTaprootActivated"] is true;
|
||||
}
|
||||
|
||||
@if (!User.IsInRole(Roles.ServerAdmin))
|
||||
|
Loading…
Reference in New Issue
Block a user