alby-hub/transactions
Adithya Vardhan 3aa167a7c4
fix: add err handling to db queries (#2064)
* fix: add err handling to db queries

* chore: add error handling to GetApp

* chore: wrap the original error

* fix: retrieve balance after err != nil check

* chore: minor code cleanup

* chore: add error handling to app permission listing in GetApp

* chore: convert GetBudgetUsageSat to GetBudgetUsage

* chore: add tests for GetBudgetUsage

* chore: separate budget window tests

---------

Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2026-02-27 16:31:25 +07:00
..
app_payments_test.go Fix: use LNClient payment context (#1728) 2025-09-16 20:53:02 +07:00
check_unsettled_transaction_test.go feat: PostgreSQL support (#922) 2025-01-16 17:17:24 +07:00
hold_invoice_self_payment_consumer.go fix: intercept self hold payments based on invoice rather than payment hash (#2027) 2026-02-27 10:22:24 +05:30
isolated_app_payments_test.go Fix: use LNClient payment context (#1728) 2025-09-16 20:53:02 +07:00
keysend_test.go fix: add err handling to db queries (#2064) 2026-02-27 16:31:25 +07:00
list_transactions_test.go fix: tests 2025-02-21 18:05:20 +05:30
lookup_transaction_test.go feat: PostgreSQL support (#922) 2025-01-16 17:17:24 +07:00
make_invoice_test.go feat: rebalance through node pubkey (#1731) 2025-09-19 12:30:51 +07:00
notifications_test.go fix: mark failed payment as settled (#1727) 2025-09-16 20:47:30 +07:00
payments_test.go fix: intercept self hold payments based on invoice rather than payment hash (#2027) 2026-02-27 10:22:24 +05:30
receive_keysend_test.go fix: ensure boostagrams are valid json before adding to the transaction (#1755) 2025-09-23 13:16:12 +07:00
self_hold_payments_test.go fix: intercept self hold payments based on invoice rather than payment hash (#2027) 2026-02-27 10:22:24 +05:30
self_payment_detection_test.go feat: allow self-paying invoices generated externally from LND (#1426) 2025-10-21 00:07:55 +07:00
self_payments_test.go fix: add err handling to db queries (#2064) 2026-02-27 16:31:25 +07:00
transactions_service.go fix: add err handling to db queries (#2064) 2026-02-27 16:31:25 +07:00