Removed exponentiation on invoice request amount

Fixes #620
This commit is contained in:
rockstardev
2019-03-03 16:51:19 -06:00
committed by Rockstar Developer
parent 358f1ffc43
commit 3fdfd0adfd
3 changed files with 3 additions and 1 deletions

View File

@@ -100,6 +100,7 @@ namespace BTCPayServer.PaymentRequest
{
Id = entity.Id,
Amount = entity.ProductInformation.Price,
AmountFormatted = _currencies.FormatCurrency(entity.ProductInformation.Price, blob.Currency),
Currency = entity.ProductInformation.Currency,
ExpiryDate = entity.ExpirationTime.DateTime,
Status = entity.GetInvoiceState().ToString(),