mirror of
https://github.com/getAlby/lndhub.go.git
synced 2026-01-15 19:05:47 +01:00
Merge pull request #160 from getAlby/fix/outgoing-invoice-fee
fix: add fees for outgoing invoices
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user