Browse Source

fix typo

pull/139/head
Deniod 4 months ago
parent
commit
261b3ad643
  1. 4
      src/controller.cpp

4
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

Loading…
Cancel
Save