pylightning: prepare plugin for parameters to getmanifest.

We might still add these in future, so I think we should allow for it.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2019-02-20 22:01:34 +10:30
parent 53423e8a55
commit 1c542bcd08

View File

@@ -285,7 +285,7 @@ class Plugin(object):
partial = self._multi_dispatch(msgs) partial = self._multi_dispatch(msgs)
def _getmanifest(self): def _getmanifest(self, **kwargs):
methods = [] methods = []
hooks = [] hooks = []
for name, entry in self.methods.items(): for name, entry in self.methods.items():