or to and

This commit is contained in:
Niko Storni 2020-05-14 17:28:15 +02:00
parent 3bb17b09d3
commit 414ed1c130

View file

@ -24,7 +24,7 @@ func waitConfirmations(s *Sync) error {
allConfirmed := false
waitCount := 0
waiting:
for !allConfirmed || waitCount < 2 {
for !allConfirmed && waitCount < 2 {
utxolist, err := s.daemon.UTXOList(&defaultAccount, 1, 10000)
if err != nil {
return err