From fe433229175409aeb52fa2949daf8b9bb750c3ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Aaron?= Date: Wed, 24 Jan 2024 21:28:21 +0000 Subject: [PATCH] fix: incoming & outgoing --- breez.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/breez.go b/breez.go index b572a134..5aa31cc0 100644 --- a/breez.go +++ b/breez.go @@ -209,7 +209,7 @@ func breezPaymentToTransaction(payment *breez_sdk.Payment) *Nip47Transaction { var txType string if payment.PaymentType == breez_sdk.PaymentTypeSent { txType = "outgoing" - } else if payment.PaymentType == breez_sdk.PaymentTypeSent { + } else if payment.PaymentType == breez_sdk.PaymentTypeReceived { txType = "incoming" }