fix never ending condition
This commit is contained in:
parent
046f46267e
commit
3bb17b09d3
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ func waitConfirmations(s *Sync) error {
|
||||||
allConfirmed := false
|
allConfirmed := false
|
||||||
waitCount := 0
|
waitCount := 0
|
||||||
waiting:
|
waiting:
|
||||||
for !allConfirmed || waitCount >= 2 {
|
for !allConfirmed || waitCount < 2 {
|
||||||
utxolist, err := s.daemon.UTXOList(&defaultAccount, 1, 10000)
|
utxolist, err := s.daemon.UTXOList(&defaultAccount, 1, 10000)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in a new issue