Skip to content

Commit e0bd147

Browse files
committed
fix: clippy errors
1 parent 524562c commit e0bd147

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/handlers.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,7 @@ pub fn handle_offline_wallet_subcommand(
211211
let psbt_base64 = BASE64_STANDARD.encode(psbt.serialize());
212212

213213
if wallet_opts.verbose {
214-
Ok(
215-
json!({"psbt": psbt_base64, "details": psbt}),
216-
)
214+
Ok(json!({"psbt": psbt_base64, "details": psbt}))
217215
} else {
218216
Ok(json!({"psbt": psbt_base64 }))
219217
}
@@ -288,9 +286,7 @@ pub fn handle_offline_wallet_subcommand(
288286
json!({"psbt": &psbt_base64, "is_finalized": finalized, "serialized_psbt": &psbt}),
289287
)
290288
} else {
291-
Ok(
292-
json!({"psbt": &psbt_base64, "is_finalized": finalized,}),
293-
)
289+
Ok(json!({"psbt": &psbt_base64, "is_finalized": finalized,}))
294290
}
295291
}
296292
ExtractPsbt { psbt } => {

0 commit comments

Comments
 (0)