rgb-cln/tests/plugins/feature-test.py

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()