Skip to content

Commit

Permalink
Merge pull request #279 from grubles/sync_progress_typo
Browse files Browse the repository at this point in the history
elements: change sync progress string formatting to float from decimal
  • Loading branch information
grubles authored Jan 25, 2024
2 parents 79469b9 + 0d9f294 commit aef7098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elements/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func NewClient(rpcUser, rpcPassword, rpcHost string, rpcPort uint) (*gelements.E
}
if info.VerificationProgress < 1. {
// Waiting for block verification to catch up.
log.Infof("Elementsd still syncing, progress: %d", info.VerificationProgress)
log.Infof("Elementsd still syncing, progress: %f", info.VerificationProgress)
time.Sleep(time.Duration(backoff*10) * time.Second)
backoff *= 2
continue
Expand Down

0 comments on commit aef7098

Please sign in to comment.