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-customtlv.py:33–35 ·
view source on GitHub ↗
(**kwargs)
Source
from the content-addressed store, hash-verified
31
32
@plugin.init()
33
def
on_init(**kwargs):
34
global custom_tlvs
35
custom_tlvs = None
36
37
38
plugin.run()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected