MCPcopy Create free account
hub / github.com/ElementsProject/lightning / faulty_emit

Function faulty_emit

tests/plugins/custom_notifications.py:21–24  ·  view source on GitHub ↗

Emit a simple string notification to topic "custom"

(plugin)

Source from the content-addressed store, hash-verified

19
20@plugin.method("faulty-emit")
21def faulty_emit(plugin):
22 """Emit a simple string notification to topic "custom"
23 """
24 plugin.notify("ididntannouncethis", {'message': "Hello world"})
25
26
27@plugin.subscribe("pay_success")

Callers

nothing calls this directly

Calls 1

notifyMethod · 0.45

Tested by

no test coverage detected