Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Nov 21, 2024
1 parent 975ccc5 commit 5c88412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/tx/send.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
Expand Down

0 comments on commit 5c88412

Please sign in to comment.