Merge branch 'kitchen-sink' into Implementations

This commit is contained in:
FlorianMichael 2023-08-07 02:08:07 +02:00
commit 6ecf945396

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