Skip to content

Clean up payment events #755

@t-bast

Description

@t-bast

We have a PaymentSent event in NodeEvents.kt but we also have another one in Peer.kt that extends the SendPaymentResult sealed class and contains more cases (PaymentNotSent and OfferNotPaid). But those are emitted on a different event flow (_eventsFlow). We should re-work those to provide a unified payment event interface emitted on a single event flow (maybe an event flow dedicated to payments would make sense?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions