Update charge in tests and fix two build time warnings

This commit is contained in:
nicolas.dorier
2018-03-17 17:49:42 +09:00
parent 0d8affc68d
commit 81328b2667
3 changed files with 3 additions and 3 deletions

View File

@@ -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;