(
p: Plugin<State>,
v: serde_json::Value,
)
| 135 | } |
| 136 | |
| 137 | async fn on_htlc_accepted( |
| 138 | p: Plugin<State>, |
| 139 | v: serde_json::Value, |
| 140 | ) -> Result<serde_json::Value, anyhow::Error> { |
| 141 | Ok(handle_htlc_safe(&p, v).await) |
| 142 | } |
| 143 | |
| 144 | async fn handle_htlc_safe(p: &Plugin<State>, v: serde_json::Value) -> serde_json::Value { |
| 145 | match handle_htlc_inner(p, v).await { |
nothing calls this directly
no test coverage detected