fix: warning on unused variable
This commit is contained in:
parent
f3e0b8a890
commit
abb6ef1e0a
@ -160,7 +160,7 @@ pub fn load(config: File) -> Result<ipfs::Keypair, LoadingError> {
|
||||
ipfs::Keypair::rsa_from_pkcs8(&mut pkcs8)
|
||||
.map_err(|e| LoadingError::PrivateKeyLoadingFailed(Box::new(e)))?
|
||||
}
|
||||
keytype => return Err(LoadingError::UnsupportedPrivateKeyType(private_key.r#type)),
|
||||
_keytype => return Err(LoadingError::UnsupportedPrivateKeyType(private_key.r#type)),
|
||||
};
|
||||
|
||||
let peer_id = kp.public().into_peer_id().to_string();
|
||||
|
Loading…
x
Reference in New Issue
Block a user