This commit is contained in:
Aditya Kulkarni
2018-10-26 09:06:02 -07:00
parent 58397245f8
commit 6ef4fd8720
+4
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!