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

Method new

plugins/lsps-plugin/src/core/lsps2/service.rs:57–62  ·  view source on GitHub ↗
(api: Arc<A>, promise_seret: &[u8; 32])

Source from the content-addressed store, hash-verified

55
56impl<A> Lsps2ServiceHandler<A> {
57 pub fn new(api: Arc<A>, promise_seret: &[u8; 32]) -> Self {
58 Lsps2ServiceHandler {
59 api,
60 promise_secret: promise_seret.to_owned(),
61 }
62 }
63}
64
65#[async_trait]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected