Skip to content

Commit

Permalink
fix: incoming & outgoing
Browse files Browse the repository at this point in the history
  • Loading branch information
reneaaron committed Jan 24, 2024
1 parent cfaebd9 commit fe43322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion breez.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit fe43322

Please sign in to comment.