Remove the next address to pay to from Invoice details page (Fix #1056) (#1283)

This commit is contained in:
Nicolas Dorier
2020-01-21 16:53:24 +09:00
committed by GitHub
parent 43967ee86e
commit 6848482999
3 changed files with 1 additions and 7 deletions

View File

@@ -104,7 +104,6 @@ namespace BTCPayServer.Controllers
cryptoPayment.Paid = _CurrencyNameTable.DisplayFormatCurrency(accounting.CryptoPaid.ToDecimal(MoneyUnit.BTC), paymentMethodId.CryptoCode);
cryptoPayment.Overpaid = _CurrencyNameTable.DisplayFormatCurrency(accounting.OverpaidHelper.ToDecimal(MoneyUnit.BTC), paymentMethodId.CryptoCode);
var paymentMethodDetails = data.GetPaymentMethodDetails();
cryptoPayment.Address = paymentMethodDetails.GetPaymentDestination();
cryptoPayment.Rate = ExchangeRate(data);
model.CryptoPayments.Add(cryptoPayment);
}