We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be188de commit 6fe8bfeCopy full SHA for 6fe8bfe
src/Traits/CanConfirm.php
@@ -34,7 +34,7 @@ public function confirm(Transaction $transaction): bool
34
if ($transaction->type === Transaction::TYPE_WITHDRAW) {
35
app(ConsistencyServiceInterface::class)->checkPotential(
36
app(CastServiceInterface::class)->getWallet($this),
37
- app(MathServiceInterface::class)->abs($transaction->amount)
+ app(MathServiceInterface::class)->negative($transaction->amount)
38
);
39
}
40
0 commit comments