mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-29 10:04:41 +01:00
15 lines
308 B
Python
15 lines
308 B
Python
|
#!/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(
|
||
|
init_features=1 << 101,
|
||
|
node_features=1 << 103,
|
||
|
invoice_features=1 << 105,
|
||
|
)
|
||
|
|
||
|
|
||
|
plugin.run()
|