mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
f4f8a363dd
There are various places where our tests failed with --enable-expimental-features. And our plugin test overlapped an existing feature. We make our expected_feature functions more generic, and use them everywhere. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 lines
327 B
Python
Executable File
16 lines
327 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
from pyln.client import Plugin
|
|
|
|
# Register a different set feature of feature bits for each location so we can
|
|
# later check that they are being passed correctly.
|
|
plugin = Plugin(
|
|
dynamic=False,
|
|
init_features=1 << 201,
|
|
node_features=1 << 203,
|
|
invoice_features=1 << 205,
|
|
)
|
|
|
|
|
|
plugin.run()
|