]> Untitled Git - bdk-cli/commitdiff
fix: clippy errors
authorSteve Myers <steve@notmandatory.org>
Sun, 13 Apr 2025 02:36:19 +0000 (21:36 -0500)
committerSteve Myers <steve@notmandatory.org>
Sun, 13 Apr 2025 02:36:19 +0000 (21:36 -0500)
src/handlers.rs

index e23b977f9e2bf4c5d3e08a264d8e9a59a2e4ccf2..0873a23b9e5e8673e34568a930866070815cf5b0 100644 (file)
@@ -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 } => {