mirror of
https://github.com/SimplexDevelopment/FreedomNetworkSuite.git
synced 2024-11-25 18:15:01 +00:00
Merge pull request #11 from AtlasMediaGroup/fix/transaction-balance-minimum
Flip greater than symbol to lesser than symbol in SimpleTransactor
This commit is contained in:
commit
d9c11fda54
@ -21,7 +21,7 @@ public class SimpleTransactor implements Transactor
|
||||
|
||||
final long transactionAmount = transaction.getBalance();
|
||||
|
||||
if (transactionAmount >= 0)
|
||||
if (transactionAmount <= 0)
|
||||
{
|
||||
return new SimpleCompletedTransaction(transaction, SimpleTransactionResult.AMOUNT_TOO_SMALL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user