@inject MicroNodeService MicroNodeService; @using BTCPayServer.Plugins.MicroNode @using Microsoft.AspNetCore.Mvc.TagHelpers @using BTCPayServer.Abstractions.TagHelpers @model BTCPayServer.Models.StoreViewModels.LightningNodeViewModel @{ var storeId = Model.StoreId; if (Model.CryptoCode != "BTC") { return; } var client = await MicroNodeService.GetStoreSettings(storeId); }
@if (client is not null) { } else { MicroNode needs to be configured beforehand. }
@if (client is not null) { }