pub fn load_backend_storage(node_config: &&NodeConfig) -> SecureBackend {
    if let Identity::FromStorage(storage_identity) =
        &node_config.validator_network.as_ref().unwrap().identity
    {
        storage_identity.backend.clone()
    } else {
        panic!("Couldn't load identity from storage");
    }
}
/// Loads the validator's storage backend from the given node config
Loads the validator's storage backend from the given node config
Loads the validator ' s storage backend from the given node config
pub fn load_backend_storage(node_config: &&NodeConfig) -> SecureBackend {
    if let Identity::FromStorage(storage_identity) =
        &node_config.validator_network.as_ref().unwrap().identity
    {
        storage_identity.backend.clone()
    } else {
        panic!("Couldn't load identity from storage");
    }
}
pub fn load_backend_storage ( node_config : & & NodeConfig ) -> SecureBackend { if let Identity :: FromStorage ( storage_identity ) = & node_config . validator_network . as_ref ( ) . unwrap ( ) . identity { storage_identity . backend . clone ( ) } else { panic ! ( " " ) ; } }
Loads the validator's storage backend from the given node config
Loads the validator ' s storage backend from the given node config
node_config
&&NodeConfig
node_config
&&NodeConfig