mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
plugin: Populate the request for the htlc_accepted hook
Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
b54577041a
commit
bf53821f1a
@@ -35,7 +35,7 @@ def on_disconnect(plugin, id):
|
||||
|
||||
|
||||
@plugin.hook("htlc_accepted")
|
||||
def on_htlc_accepted(plugin):
|
||||
def on_htlc_accepted(onion, htlc, plugin):
|
||||
plugin.log('on_htlc_accepted called')
|
||||
time.sleep(20)
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user