Commit 3e6b2f7
fix transaction status logic inversion
Corrected inverted logic in createTransaction where payments were
marked as pending and requests as complete. Changed condition from
isRequestTransaction to isPayment to properly handle balance transfers
and status updates.
Fixes: Unit tests transactions.test.ts
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>1 parent afd619e commit 3e6b2f7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
549 | | - | |
| 549 | + | |
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
| |||
0 commit comments