This commit is contained in:
Aditya Kulkarni
2018-10-24 22:44:45 -07:00
parent e28a4d9c9a
commit 9a0c368623

View File

@@ -11,6 +11,10 @@ Turnstile::~Turnstile() {
QList<double> Turnstile::splitAmount(double amount, int parts) {
QList<double> amounts;
// Need at least 0.0004 ZEC for this
if (amount < 0.0004)
return amounts;
fillAmounts(amounts, amount, parts);
// Ensure they all add up!