mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
plugin: Wrap custom notifications in a dict with additional origin
This should allow us to differentiate the origin of the notification, and further prevent plugins from spoofing native notifications.
This commit is contained in:
committed by
Rusty Russell
parent
cfb1107244
commit
62e3358a5b
@@ -2404,7 +2404,6 @@ def test_self_disable(node_factory):
|
||||
l1.rpc.plugin_start(p2, selfdisable=True)
|
||||
|
||||
|
||||
@pytest.mark.xfail(strict=True)
|
||||
def test_custom_notification_topics(node_factory):
|
||||
plugin = os.path.join(
|
||||
os.path.dirname(__file__), "plugins", "custom_notifications.py"
|
||||
|
||||
Reference in New Issue
Block a user