Adding PeerInfo textbox

We'll need to heavily refactor this HTML and CSS... way to many styles and complex structure
This commit is contained in:
lepipele
2018-03-28 02:13:00 -05:00
committed by nicolas.dorier
parent 46f94d7175
commit a171e00280
5 changed files with 91 additions and 36 deletions

View File

@@ -229,6 +229,9 @@ namespace BTCPayServer.Controllers
InvoiceBitcoinUrl = paymentMethodId.PaymentType == PaymentTypes.BTCLike ? cryptoInfo.PaymentUrls.BIP21 :
paymentMethodId.PaymentType == PaymentTypes.LightningLike ? cryptoInfo.PaymentUrls.BOLT11 :
throw new NotSupportedException(),
// TEST PLACEHOLDER FOR PEER INFO DATA... REPLACE!
PeerInfo = "039cc950286a8fa99218283d1adc2456e0d5e81be558da77dd6e85ba9a1fff5ad3@34.200.252.146",
// EOF
InvoiceBitcoinUrlQR = paymentMethodId.PaymentType == PaymentTypes.BTCLike ? cryptoInfo.PaymentUrls.BIP21 :
paymentMethodId.PaymentType == PaymentTypes.LightningLike ? cryptoInfo.PaymentUrls.BOLT11.ToUpperInvariant() :
throw new NotSupportedException(),