Skip to content

Commit

Permalink
remove memo
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwiidb committed Jun 8, 2022
1 parent 4a3b548 commit c5f5ab1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/service/invoicesubscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (svc *LndhubService) HandleInternalKeysendPayment(ctx context.Context, invo
UserID: user.ID,
Amount: invoice.Amount,
Internal: true,
Memo: "Keysend payment",
Memo: "",
State: common.InvoiceStateInitialized,
ExpiresAt: bun.NullTime{Time: time.Now().Add(expiry)},
Keysend: true,
Expand Down Expand Up @@ -200,7 +200,7 @@ func (svc *LndhubService) createKeysendInvoice(ctx context.Context, rawInvoice *
Type: common.InvoiceTypeIncoming,
UserID: user.ID,
Amount: rawInvoice.AmtPaidSat,
Memo: "Keysend payment", //TODO: also extract this from the custom records?
Memo: "",
State: common.InvoiceStateInitialized,
ExpiresAt: bun.NullTime{Time: time.Now().Add(expiry)},
Keysend: true,
Expand Down

0 comments on commit c5f5ab1

Please sign in to comment.