From 5c88412d4aae2b70763b5c7e5b02c89a44bf67db Mon Sep 17 00:00:00 2001 From: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> Date: Thu, 21 Nov 2024 13:02:15 -0800 Subject: [PATCH] tweak --- cmd/soroban-cli/src/commands/tx/send.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/soroban-cli/src/commands/tx/send.rs b/cmd/soroban-cli/src/commands/tx/send.rs index b410cf1f3..c35f21dc1 100644 --- a/cmd/soroban-cli/src/commands/tx/send.rs +++ b/cmd/soroban-cli/src/commands/tx/send.rs @@ -61,7 +61,7 @@ impl NetworkRunnable for Cmd { .map(|tx| transaction_hash(&tx, &network.network_passphrase)) { Ok(Ok(hash)) => { - if !globals.map_or(false, |g| g.quiet) { + if !globals.is_some_and(|g| g.quiet) { println!("Transaction Hash: {}", hex::encode(hash)); } }