Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ test_peer_id
Function
test_peer_id
plugins/lsps-plugin/src/core/router.rs:203–207 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
201
}
202
203
fn test_peer_id() -> PublicKey {
204
"0279BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798"
205
.parse()
206
.unwrap()
207
}
208
209
fn test_context() -> RequestContext {
210
RequestContext {
Callers
1
test_context
Function · 0.70
Calls
2
parse
Method · 0.80
unwrap
Method · 0.45
Tested by
no test coverage detected