msggen: Add stop method to generators

We'll need this when testing the grpc interface in pyln-testing,
otherwise tests just slowly die and wither.
This commit is contained in:
Christian Decker
2022-07-01 13:51:18 +02:00
committed by Rusty Russell
parent 1efa5c37be
commit 18a9eb2feb
9 changed files with 134 additions and 4 deletions

View File

@@ -850,3 +850,8 @@ def signmessage2py(m):
"recid": hexlify(m.recid), # PrimitiveField in generate_composite
"zbase": m.zbase, # PrimitiveField in generate_composite
})
def stop2py(m):
return remove_default({
})