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

Method from

cln-rpc/src/primitives.rs:256–258  ·  view source on GitHub ↗
(scid: u64)

Source from the content-addressed store, hash-verified

254}
255impl From<u64> for ShortChannelId {
256 fn from(scid: u64) -> Self {
257 ShortChannelId(scid)
258 }
259}
260impl Display for ShortChannelId {
261 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {

Callers

nothing calls this directly

Calls 2

ShortChannelIdClass · 0.70
to_stringMethod · 0.45

Tested by

no test coverage detected