diff options
| author | Adam Soltys <[email protected]> | 2024-12-22 03:22:34 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-12-22 03:22:34 +0000 |
| commit | 1071d258bb55e3453e579b932a35b34df83ed353 (patch) | |
| tree | 8c67df734aa1edfc0d3edde28947745e52e07b20 /lib | |
| parent | 335433882c74228ee421c39fcb4d1f93650bdaa1 (diff) | |
| download | coinos-server-1071d258bb55e3453e579b932a35b34df83ed353.tar.gz coinos-server-1071d258bb55e3453e579b932a35b34df83ed353.zip | |
check for offers
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lightning.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lightning.ts b/lib/lightning.ts index e3d59f90..5c365805 100644 --- a/lib/lightning.ts +++ b/lib/lightning.ts @@ -38,7 +38,7 @@ export async function listenForLightning() { } } - const p = await getPayment(bolt11); + const p = await getPayment(bolt11 || local_offer_id); if (p) return warn("already processed", bolt11); await credit({ |
