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

Method new

plugins/lsps-plugin/src/core/lsps2/htlc.rs:72–77  ·  view source on GitHub ↗
(amount_msat: Msat, tlvs: TlvStream)

Source from the content-addressed store, hash-verified

70}
71impl Htlc {
72 pub fn new(amount_msat: Msat, tlvs: TlvStream) -> Self {
73 Self {
74 amount_msat,
75 extra_tlvs: tlvs,
76 }
77 }
78}
79
80#[derive(Debug, Clone)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected