Merge pull request #160 from getAlby/fix/outgoing-invoice-fee

fix: add fees for outgoing invoices
This commit is contained in:
Michael Bumann
2022-04-26 18:11:44 +02:00
committed by GitHub

View File

@@ -60,7 +60,7 @@ func (controller *GetTXSController) GetTXS(c echo.Context) error {
PaymentPreimage: invoice.Preimage,
Value: invoice.Amount,
Type: common.InvoiceTypePaid,
Fee: 0, //TODO charge fees
Fee: invoice.Fee,
Timestamp: invoice.CreatedAt.Unix(),
Memo: invoice.Memo,
}