mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
tests: notification response fixes
tests: notification response fixes
This commit is contained in:
committed by
Rusty Russell
parent
8e14b3ff8f
commit
4e5e38f4b0
@@ -31,13 +31,13 @@ def init(options, configuration, plugin, **kwargs):
|
||||
|
||||
|
||||
@plugin.subscribe("connect")
|
||||
def on_connect(plugin, id, address, **kwargs):
|
||||
plugin.log("Received connect event for peer {}".format(id))
|
||||
def on_connect(plugin, connect, **kwargs):
|
||||
plugin.log("Received connect event for peer {}".format(connect))
|
||||
|
||||
|
||||
@plugin.subscribe("disconnect")
|
||||
def on_disconnect(plugin, id, **kwargs):
|
||||
plugin.log("Received disconnect event for peer {}".format(id))
|
||||
def on_disconnect(plugin, disconnect, **kwargs):
|
||||
plugin.log("Received disconnect event for peer {}".format(disconnect))
|
||||
|
||||
|
||||
@plugin.subscribe("invoice_payment")
|
||||
|
||||
Reference in New Issue
Block a user