mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-08 07:34:20 +01:00
tests: notification response fixes
tests: notification response fixes
This commit is contained in:
committed by
Rusty Russell
parent
8e14b3ff8f
commit
4e5e38f4b0
@@ -9,9 +9,9 @@ blocks_catched = []
|
||||
|
||||
|
||||
@plugin.subscribe("block_added")
|
||||
def notify_block_added(plugin, block, **kwargs):
|
||||
def notify_block_added(plugin, block_added, **kwargs):
|
||||
global blocks_catched
|
||||
blocks_catched.append(block["height"])
|
||||
blocks_catched.append(block_added["height"])
|
||||
|
||||
|
||||
@plugin.method("blockscatched")
|
||||
|
||||
Reference in New Issue
Block a user