From 261b3ad6435586e9833f194a2d6d6887e8262200 Mon Sep 17 00:00:00 2001 From: Deniod Date: Fri, 12 Jan 2024 14:14:27 +0100 Subject: [PATCH] fix typo --- src/controller.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controller.cpp b/src/controller.cpp index 823733c..6a3cccd 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -188,9 +188,9 @@ void Controller::fillTxJsonParams(json& allRecepients, Tx tx) } CAmount balanceAvailable = getModel()->getBalVerified(); - + // Create more Notes if spendableNotesCount < 30 and enough funds are available - if (spendableNotesCount < 30 || balanceAvailable.toDecimalhushString().toDouble() > (dust.size() * 0.0001)) { + if (spendableNotesCount < 30 && balanceAvailable.toDecimalhushString().toDouble() > (dust.size() * 0.0001)) { // Create extra transaction for (size_t i = 0; i < dust.size(); ++i) { // Generate random memo