MCPcopy Create free account
hub / github.com/SeismicSystems/summit / test_expect_keys_node0

Function test_expect_keys_node0

node/src/config.rs:135–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133}
134
135pub(crate) fn load_key_store(key_store_path: &str) -> Result<KeyStore<PrivateKey>> {
136 match read_keys_from_keystore(key_store_path).context("failed to load key store") {
137 Ok((node_key, consensus_key)) => Ok(KeyStore {
138 node_key,
139 consensus_key,
140 }),
141 Err(e) => Err(e),
142 }
143}
144
145pub(crate) fn expect_key_store(key_store_path: &str) -> KeyStore<PrivateKey> {

Callers

nothing calls this directly

Calls 2

expect_key_storeFunction · 0.85
parentMethod · 0.45

Tested by

no test coverage detected