mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-24 16:34:20 +01:00
Rene pointed out that we were silently accepting an updated manifest despite not actually being able to register it with `lightningd`. This meant that if options, RPC methods, hooks or notifications get added or removed they will not be wired in correctly. The warning is really obnoxious and multi-line to draw the attention. Suggested-by: Rene Pickhardt <@renepickhardt>
12 lines
138 B
Python
Executable File
12 lines
138 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
from pyln.client import Plugin
|
|
|
|
plugin = Plugin()
|
|
|
|
@plugin.method('dummy')
|
|
def on_dummy():
|
|
pass
|
|
|
|
plugin.run()
|