Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client/cli: fix the msg when waiting to sync #1522

Merged
merged 2 commits into from
Jun 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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