JSON-RPC: getmanifest passes allow-deprecated-apis flag.

This allows plugins to choose how to present things in getmanifest.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Added: plugins: `getmanifest` may now include "allow-deprecated-apis" boolean flag.
Changelog-Deprecated: plugins: `getmanifest` without any parameters; plugins should accept any parameters for future use.
This commit is contained in:
Rusty Russell
2020-08-06 09:57:48 +09:30
parent 930e294801
commit 151bc47583
3 changed files with 8 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ import sys
import time
def json_getmanifest(request):
def json_getmanifest(request, **kwargs):
# Timeout is 60 seconds, so wait more
time.sleep(61)
return {