Compare commits

...
1 Commits
Author SHA1 Message Date
Niko Storni a4c6b2da30 actually count UTXOs 2019-06-25 22:28:43 -04:00
+1 -1
View File
@@ -170,7 +170,7 @@ func (s *Sync) ensureEnoughUTXOs() error {
for _, utxo := range *utxolist {
amount, _ := strconv.ParseFloat(utxo.Amount, 64)
if !utxo.IsMine && utxo.Type == "payment" && amount > 0.001 {
if utxo.IsMine && utxo.Type == "payment" && amount > 0.001 {
if utxo.Confirmations > 0 {
confirmedCount++
}