rgb-cln/contrib
Christian Decker e0621fa8f7 pylightning: Better inject arguments in plugin method calls
If the `request` or `plugin` parameter that are injected by the
framework where before or inbetween positional arguments we'd be
injecting them incorrectly, i.e., we'd be providing them both as
`args` (and mismapping another argument) as well as `kwargs`.

This is a better way to map arguments, which takes advantage of the
fact that JSON-RPC calls are either all positional or named arguments.

I also included a test for various scenarios, that hopefull cover the
most common cases.

Reported-by: Rene Pickhardt <@renepickhardt>
Signed-off-by: Christian Decker <decker.christian@gmail.com>
2019-01-08 17:37:00 +01:00
..
init contrib: add init file for systemd 2018-08-13 23:55:12 +00:00
plugins [plugin] Improved the example code to encourage usage of optional arguments (#2212) 2019-01-02 23:16:56 +01:00
pylightning pylightning: Better inject arguments in plugin method calls 2019-01-08 17:37:00 +01:00
Dockerfile.builder docker: Update pytest dependencies in the builder image 2018-11-26 22:53:37 +00:00
Dockerfile.builder.fedora docker: Update docker images and docs to non-CVE-2018-17144 bitcoind 2018-10-15 23:05:25 +00:00
Dockerfile.builder.i386 docker: Update pytest dependencies in the builder image 2018-11-26 22:53:37 +00:00
lightning-cli.bash-completion contrib/lightning-cli.bash-completion: fix for new simpler help format. 2018-02-02 00:05:00 +01:00
linuxarm32v7.Dockerfile Add dockerfile for cross compiling arm32v7 image 2019-01-04 22:48:20 +01:00
short_channel_id-to-txid.sh contrib/short_channel_id-to-txid.sh: simple mapping util. 2018-08-21 22:53:45 +02:00