We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64255f6 commit 33df467Copy full SHA for 33df467
crates/cast/src/args.rs
@@ -748,7 +748,7 @@ pub async fn run_command(args: CastArgs) -> Result<()> {
748
}
749
750
CastSubcommand::RecoverAuthority { auth } => {
751
- let auth: SignedAuthorization = serde_json::from_str(&auth).unwrap();
+ let auth: SignedAuthorization = serde_json::from_str(&auth)?;
752
sh_println!("{}", auth.recover_authority()?)?;
753
754
CastSubcommand::TxPool { command } => command.run().await?,
0 commit comments