From 91eb4920ef804f5404bcf63049b33c83ae119853 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Thu, 5 Sep 2024 09:23:37 +0200 Subject: [PATCH] fix: phoenix: return amount on make invoice call --- lnclient/phoenixd/phoenixd.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lnclient/phoenixd/phoenixd.go b/lnclient/phoenixd/phoenixd.go index 32782d2d..c63da276 100644 --- a/lnclient/phoenixd/phoenixd.go +++ b/lnclient/phoenixd/phoenixd.go @@ -342,6 +342,7 @@ func (svc *PhoenixService) MakeInvoice(ctx context.Context, amount int64, descri Invoice: invoiceRes.Serialized, Preimage: "", // TODO: set preimage to enable self-payments PaymentHash: invoiceRes.PaymentHash, + Amount: amount, FeesPaid: 0, CreatedAt: time.Now().Unix(), ExpiresAt: &expiresAt,