From d51bd7a7098717e931ac700890c350113eb0d795 Mon Sep 17 00:00:00 2001 From: "Thomas M. DuBuisson" Date: Wed, 20 Nov 2024 09:09:34 -0800 Subject: [PATCH] Fmt --- cmd/soroban-cli/src/commands/tx/send.rs | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/cmd/soroban-cli/src/commands/tx/send.rs b/cmd/soroban-cli/src/commands/tx/send.rs index 7f74dd3a9..5f17dd5f0 100644 --- a/cmd/soroban-cli/src/commands/tx/send.rs +++ b/cmd/soroban-cli/src/commands/tx/send.rs @@ -57,17 +57,15 @@ impl NetworkRunnable for Cmd { }; let client = network.rpc_client()?; let tx_env = super::xdr::tx_envelope_from_stdin()?; - match super::xdr::unwrap_envelope_v1(tx_env.clone()).map(|tx| transaction_hash(&tx, &network.network_passphrase)) { + match super::xdr::unwrap_envelope_v1(tx_env.clone()) + .map(|tx| transaction_hash(&tx, &network.network_passphrase)) + { Ok(Ok(hash)) => { - if !globals.map_or(false, |g| g.quiet) { - println!( - "Transaction Hash: {}", - hex::encode(hash) - ); + if !globals.map_or(false, |g| g.quiet){ + println!( "Transaction Hash: {}", hex::encode(hash)); } } - _ => { - } + _ => {} } Ok(client.send_transaction_polling(&tx_env).await?) }