Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ setpayload
Function
setpayload
tests/plugins/replace_payload.py:35–37 ·
view source on GitHub ↗
(plugin, payload: bytes)
Source
from the content-addressed store, hash-verified
33
34
@plugin.method(
'setpayload'
)
35
def
setpayload(plugin, payload: bytes):
36
plugin.replace_payload = payload
37
return
{}
38
39
40
plugin.run()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected