Skip to content

Custom notifications in rust broken in v25.09rc1 #8478

@daywalker90

Description

@daywalker90

Apparently there were more changes than i noticed in #8376. Where previously we got something like this

{"origin":"holdinvoice","payload":{"htlc_expiry":253,"payment_hash":"09682233ad5254b180c36dceac457559c6eccd46905cc4eb03ec5a03503123fd"}}

we now get this:

{"my_notification_name": {"htlc_expiry":253,"payment_hash":"09682233ad5254b180c36dceac457559c6eccd46905cc4eb03ec5a03503123fd"}, "htlc_expiry":253,"payment_hash":"09682233ad5254b180c36dceac457559c6eccd46905cc4eb03ec5a03503123fd"}

which is upsetting cln-plugin since it expects a "payload". I vaguely remember @cdecker talking about notification double wrapping but forgot the details.

What do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type::BugAn error, flaw, or fault that produces an incorrect or unexpected result

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions