MCPcopy Create free account
hub / github.com/ElementsProject/lightning / setfailcode

Function setfailcode

tests/plugins/htlc_accepted-failmessage.py:22–25  ·  view source on GitHub ↗

Sets the failmessage to return when receiving an incoming HTLC.

(plugin, msg)

Source from the content-addressed store, hash-verified

20
21@plugin.method('setfailmsg')
22def setfailcode(plugin, msg):
23 """Sets the failmessage to return when receiving an incoming HTLC.
24 """
25 plugin.failmsg = msg
26
27
28@plugin.init()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected