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

Function testmethod

plugins/examples/cln-plugin-startup.rs:134–136  ·  view source on GitHub ↗
(_p: Plugin<()>, _v: serde_json::Value)

Source from the content-addressed store, hash-verified

132}
133
134async fn testmethod(_p: Plugin<()>, _v: serde_json::Value) -> Result<serde_json::Value, Error> {
135 Ok(json!("Hello"))
136}
137
138async fn test_send_custom_notification(
139 p: Plugin<()>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected