17 Commits

Author SHA1 Message Date
k00b
105f7b07e5 make fallback retry cache updates a special case 2024-11-28 11:22:46 -06:00
k00b
cb028d217c fix zap fallback retries in notifications 2024-11-28 10:48:22 -06:00
k00b
6b59e1fa75 usesendwallets 2024-11-27 19:39:20 -06:00
k00b
67f6c170aa readability improvements 2024-11-27 18:39:23 -06:00
k00b
b608fb6848 refactor out array of hooks 2024-11-27 17:31:08 -06:00
ekzyis
9cfc18d655 Return latest state of paid or failed invoice 2024-11-27 23:00:27 +01:00
ekzyis
0051c82415 Fix invoice retry even if no payment was attempted 2024-11-27 23:00:27 +01:00
ekzyis
14a92ee5ce Fix filter for wallets that can send
Testing for canSend is not enough since it can also return true if the wallet is not enabled.

This is the case because we want to allow disabling wallets but canSend must still return true in this case if send is configured.

This should probably be changed such that canSend only returns true when the wallet is enabled without preventing disabling of wallets.
2024-11-27 23:00:27 +01:00
ekzyis
b1cdd953a0 Return last attempted invoice in canceled state 2024-11-27 23:00:27 +01:00
ekzyis
be4ce5daf9 Allow retries of pessimistic actions 2024-11-27 23:00:27 +01:00
ekzyis
1f2b717da9 Fix last wallet not returning new invoice 2024-11-27 23:00:27 +01:00
ekzyis
413f76c33a Refactor wallet error handling with inheritance 2024-11-27 23:00:27 +01:00
ekzyis
ed82d9cfc0 Fix payments if recv-only wallet enabled 2024-11-27 23:00:27 +01:00
ekzyis
d99caa43fc Remove unnecessary sort 2024-11-27 23:00:27 +01:00
ekzyis
7036804c67 Fix old invoice passed to QR code 2024-11-27 23:00:27 +01:00
ekzyis
7742257470 Fix TypeError 2024-11-27 23:00:27 +01:00
ekzyis
5218a03b3a sender fallbacks 2024-11-27 23:00:27 +01:00