Skip to main content

load_identity

Function load_identity 

Source
pub fn load_identity(dir: &Path) -> Res<Identity>
Expand description

Loads the identity whose seed is stored at dir/key.

ยงErrors

Returns an error if the keyfile is missing or does not contain a valid 32-byte seed.