-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
better err msg by checking node height
- Loading branch information
1 parent
d7ba5d2
commit 418a335
Showing
1 changed file
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this will get the latest height of latest height of the node, so it will be > 0 after the first block is synced.
Doing something like this for
catching_up: bool
would be better.cosmos-sdk/client/rpc/block.go
Lines 85 to 86 in 2f335a2