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

Function json_fail

plugins/lsps-plugin/src/service.rs:242–247  ·  view source on GitHub ↗
(failure_code: &str)

Source from the content-addressed store, hash-verified

240}
241
242fn json_fail(failure_code: &str) -> serde_json::Value {
243 serde_json::json!({
244 "result": "fail",
245 "failure_message": failure_code
246 })
247}
248
249fn log_decision(decision: &HtlcDecision) {
250 match decision {

Callers 1

decision_to_responseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected