pub fn load_signer_and_validate(
keystore_path: Option<&Path>,
password_file: Option<&Path>,
expected_address: Option<&str>,
purpose: &str,
) -> Result<PrivateKeySigner, CmdError>Expand description
Decrypt the keystore at keystore_path and validate against the expected address.