Skip to content

Commit d3038d2

Browse files
fixed a bug
1 parent 94e2be8 commit d3038d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/diffblue/corebanking/account/Account.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public void takeFromBalance(final long amount) throws AccountException {
9898
+ currentBalance
9999
+ ". Not enough funds.");
100100
}
101-
currentBalance += amount;
101+
currentBalance -= amount;
102102
}
103103

104104
/**

0 commit comments

Comments
 (0)