mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 17:14:22 +01:00
listconfigs: add plugin field if config is for a plugin.
I chose the full path name, not just the basename. Suggested-by: @SimonVrouwe Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -738,6 +738,7 @@ def test_listconfigs(node_factory, bitcoind, chainparams):
|
||||
c = configs[name]
|
||||
assert c['source'] == 'cmdline'
|
||||
assert c[valfield] == val
|
||||
assert 'plugin' not in c
|
||||
|
||||
# These are aliases, but we don't print the (unofficial!) wumbo.
|
||||
assert 'wumbo' not in configs
|
||||
|
||||
Reference in New Issue
Block a user