tests: notification response fixes

tests: notification response fixes
This commit is contained in:
Shahana Farooqui
2023-06-29 10:30:30 -07:00
committed by Rusty Russell
parent 8e14b3ff8f
commit 4e5e38f4b0
4 changed files with 10 additions and 10 deletions

View File

@@ -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")