Skip to content

Commit

Permalink
Merge branch 'origin/tomas/client-fix-wait-msg' (#1522)
Browse files Browse the repository at this point in the history
* origin/tomas/client-fix-wait-msg:
  changelog: add #1522
  client/cli: fix the msg when waiting to sync
  • Loading branch information
Fraccaman committed Jun 14, 2023
2 parents a935ed4 + cc50cc6 commit 079d8d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .changelog/unreleased/bug-fixes/1522-client-fix-wait-msg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix the message when a client is waiting for a node to sync on queries or
transactions. ([\#1522](https://github.com/anoma/namada/pull/1522))
4 changes: 2 additions & 2 deletions apps/src/bin/namada-client/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,9 @@ async fn wait_until_node_is_synched(ledger_address: &TendermintAddress) {
println!(
" Waiting for {} ({}/{} tries)...",
if is_at_least_height_one {
"a first block"
} else {
"node to sync"
} else {
"a first block"
},
try_count + 1,
MAX_TRIES
Expand Down

0 comments on commit 079d8d8

Please sign in to comment.