mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-03 17:36:59 +01:00
Update charge in tests and fix two build time warnings
This commit is contained in:
parent
0d8affc68d
commit
81328b2667
3 changed files with 3 additions and 3 deletions
|
@ -84,7 +84,7 @@ services:
|
|||
- "bitcoin_datadir:/data"
|
||||
|
||||
lightning-charged:
|
||||
image: shesek/lightning-charge:0.3.4
|
||||
image: shesek/lightning-charge:0.3.5
|
||||
environment:
|
||||
NETWORK: regtest
|
||||
API_TOKEN: foiewnccewuify
|
||||
|
|
|
@ -77,7 +77,7 @@ namespace BTCPayServer.Controllers
|
|||
var onchainMethod = data.GetPaymentMethodDetails() as Payments.Bitcoin.BitcoinLikeOnChainPaymentMethod;
|
||||
if(onchainMethod != null)
|
||||
{
|
||||
cryptoPayment.Address = onchainMethod.DepositAddress.ToString();
|
||||
cryptoPayment.Address = onchainMethod.DepositAddress;
|
||||
}
|
||||
cryptoPayment.Rate = FormatCurrency(data);
|
||||
cryptoPayment.PaymentUrl = cryptoInfo.PaymentUrls.BIP21;
|
||||
|
|
|
@ -615,7 +615,7 @@ namespace BTCPayServer.Services.Invoices
|
|||
{
|
||||
TxFee = bitcoinPaymentMethod.TxFee;
|
||||
FeeRate = bitcoinPaymentMethod.FeeRate;
|
||||
DepositAddress = bitcoinPaymentMethod.DepositAddress.ToString();
|
||||
DepositAddress = bitcoinPaymentMethod.DepositAddress;
|
||||
}
|
||||
var jobj = JObject.Parse(JsonConvert.SerializeObject(paymentMethod));
|
||||
PaymentMethodDetails = jobj;
|
||||
|
|
Loading…
Add table
Reference in a new issue