From: Steve Myers Date: Sun, 13 Apr 2025 02:36:19 +0000 (-0500) Subject: fix: clippy errors X-Git-Tag: v1.0.0~7^2 X-Git-Url: http://internal-gitweb-vhost/?a=commitdiff_plain;h=e0bd1471c88cbadc12558328b236ba6923f86cc9;p=bdk-cli fix: clippy errors --- diff --git a/src/handlers.rs b/src/handlers.rs index e23b977..0873a23 100644 --- a/src/handlers.rs +++ b/src/handlers.rs @@ -211,9 +211,7 @@ pub fn handle_offline_wallet_subcommand( let psbt_base64 = BASE64_STANDARD.encode(psbt.serialize()); if wallet_opts.verbose { - Ok( - json!({"psbt": psbt_base64, "details": psbt}), - ) + Ok(json!({"psbt": psbt_base64, "details": psbt})) } else { Ok(json!({"psbt": psbt_base64 })) } @@ -288,9 +286,7 @@ pub fn handle_offline_wallet_subcommand( json!({"psbt": &psbt_base64, "is_finalized": finalized, "serialized_psbt": &psbt}), ) } else { - Ok( - json!({"psbt": &psbt_base64, "is_finalized": finalized,}), - ) + Ok(json!({"psbt": &psbt_base64, "is_finalized": finalized,})) } } ExtractPsbt { psbt } => {