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

Function test_peer

plugins/lsps-plugin/src/core/transport.rs:154–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152 use std::sync::atomic::{AtomicUsize, Ordering};
153
154 fn test_peer() -> PublicKey {
155 "0279BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798"
156 .parse()
157 .unwrap()
158 }
159
160 // Mock sender that captures calls
161 #[derive(Clone, Default)]

Calls 2

parseMethod · 0.80
unwrapMethod · 0.45

Tested by

no test coverage detected