From 3bb17b09d337b27cecde21c7f08d5fdb2c46e28f Mon Sep 17 00:00:00 2001 From: Niko Storni Date: Thu, 14 May 2020 06:47:19 +0200 Subject: [PATCH] fix never ending condition --- manager/transfer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manager/transfer.go b/manager/transfer.go index 8d8a2f8..461dfcb 100644 --- a/manager/transfer.go +++ b/manager/transfer.go @@ -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