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:
Paldiu 2023-07-30 10:14:15 -05:00 committed by GitHub
commit d9c11fda54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}