Flip greater than symbol to lesser than symbol

This commit is contained in:
Allink 2023-07-29 02:15:35 +00:00
parent 5826438721
commit 4f4d885003
No known key found for this signature in database

View File

@ -21,7 +21,7 @@ public class SimpleTransactor implements Transactor
final long transactionAmount = transaction.getBalance(); final long transactionAmount = transaction.getBalance();
if (transactionAmount >= 0) if (transactionAmount <= 0)
{ {
return new SimpleCompletedTransaction(transaction, SimpleTransactionResult.AMOUNT_TOO_SMALL); return new SimpleCompletedTransaction(transaction, SimpleTransactionResult.AMOUNT_TOO_SMALL);
} }