mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
plugin: Parse response for htlc_accepted hook
Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
bf53821f1a
commit
2b81e02a2e
@@ -38,7 +38,7 @@ def on_disconnect(plugin, id):
|
||||
def on_htlc_accepted(onion, htlc, plugin):
|
||||
plugin.log('on_htlc_accepted called')
|
||||
time.sleep(20)
|
||||
return None
|
||||
return {'result': 'continue'}
|
||||
|
||||
|
||||
plugin.add_option('greeting', 'Hello', 'The greeting I should use.')
|
||||
|
||||
Reference in New Issue
Block a user