Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ on_init
Function
on_init
tests/plugins/htlc_accepted-failmessage.py:29–30 ·
view source on GitHub ↗
(**kwargs)
Source
from the content-addressed store, hash-verified
27
28
@plugin.init()
29
def
on_init(**kwargs):
30
plugin.failmsg = None
31
32
33
plugin.run()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected