mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user