Skip to content

Commit

Permalink
prefer HasChecked in GnomonState
Browse files Browse the repository at this point in the history
  • Loading branch information
SixofClubsss committed Aug 29, 2023
1 parent ff53bf3 commit 5c181b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion menu/gnomon.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ func GnomonState(config bool, scan func(map[string]string)) {
height := Gnomes.Indexer.ChainHeight
if Gnomes.IsRunning() && Gnomes.Indexer.LastIndexedHeight >= height-3 && height != 0 {
Gnomes.Synced(true)
if !config && rpc.Wallet.IsConnected() && !Gnomes.Check {
if !config && rpc.Wallet.IsConnected() && !Gnomes.HasChecked() {
Gnomes.Scanning(true)

CheckWalletNames(rpc.Wallet.Address)
Expand Down

0 comments on commit 5c181b0

Please sign in to comment.