mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
pytest plugins: use the standard 'no operation' syntax for hooks
This commit is contained in:
committed by
ZmnSCPxj, ZmnSCPxj jxPCSmnZ
parent
6e34aa233a
commit
9030e5d779
@@ -20,7 +20,7 @@ def on_payment(payment, plugin, **kwargs):
|
||||
WIRE_TEMPORARY_NODE_FAILURE = 0x2002
|
||||
return {'failure_code': WIRE_TEMPORARY_NODE_FAILURE}
|
||||
|
||||
return {}
|
||||
return {'result': 'continue'}
|
||||
|
||||
|
||||
plugin.run()
|
||||
|
||||
Reference in New Issue
Block a user