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

Function handler

plugins/lsps-plugin/src/core/lsps2/htlc.rs:466–472  ·  view source on GitHub ↗
(api: MockApi)

Source from the content-addressed store, hash-verified

464 }
465
466 fn handler(api: MockApi) -> HtlcAcceptedHookHandler<MockApi> {
467 HtlcAcceptedHookHandler {
468 api,
469 htlc_minimum_msat: 1_000,
470 backoff_listpeerchannels: Duration::from_millis(1), // Fast for tests
471 }
472 }
473
474 #[tokio::test]
475 async fn continues_when_scid_not_found() {

Calls

no outgoing calls

Tested by

no test coverage detected