Skip to content
Snippets Groups Projects
Commit 53fc5b2e authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

clippy

parent acf72749
No related branches found
No related tags found
1 merge request!15update to runtime 800
This commit is part of merge request !15. Comments created here will be created in the context of that merge request.
......@@ -30,13 +30,13 @@ pub async fn handle_command(_data: Data, command: Subcommand) -> Result<(), Gcli
};
println!("Pubkey (hex): 0x{}", hex::encode(raw_pubkey));
let address: AccountId = sp_core::ed25519::Public(raw_pubkey).into();
println!("Address (SS58): {}", address.to_string());
println!("Address (SS58): {}", address);
}
Subcommand::Prompt => {
let keypair = prompt_secret_cesium();
println!("Pubkey: {}", bs58::encode(keypair.pkey).into_string());
let address: AccountId = keypair.pkey.into();
println!("Address: {}", address.to_string());
println!("Address: {}", address);
}
}
Ok(())
......
......@@ -139,7 +139,7 @@ async fn main() -> Result<(), GcliError> {
if let Err(ref e) = result {
println!("{}", e)
}
println!("");
println!();
// still return result for detailed error message
result
// Ok(())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment