diff --git a/src/turnstile.cpp b/src/turnstile.cpp index 349db59..a4f8f94 100644 --- a/src/turnstile.cpp +++ b/src/turnstile.cpp @@ -11,6 +11,10 @@ Turnstile::~Turnstile() { QList Turnstile::splitAmount(double amount, int parts) { QList amounts; + // Need at least 0.0004 ZEC for this + if (amount < 0.0004) + return amounts; + fillAmounts(amounts, amount, parts); // Ensure they all add up!