diff options
| author | Adam Soltys <[email protected]> | 2025-02-04 09:24:38 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-02-04 09:34:28 -0800 |
| commit | 9db94553094af6003b61fc049a568483ad8d2ef4 (patch) | |
| tree | 83df63b1e70a2b0c5385359b489f1944a3d58a4e | |
| parent | 581fb404e212b5993fbec153a87e9b7bfd68d578 (diff) | |
| download | coinos-server-9db94553094af6003b61fc049a568483ad8d2ef4.tar.gz coinos-server-9db94553094af6003b61fc049a568483ad8d2ef4.zip | |
skip checking ln payments in dev
| -rw-r--r-- | lib/payments.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/payments.ts b/lib/payments.ts index af16e02e..cddb33cb 100644 --- a/lib/payments.ts +++ b/lib/payments.ts @@ -796,6 +796,7 @@ export const reconcile = async (account, initial = false) => { }; export const check = async () => { + if (process.env.URL.includes("dev")) return; try { const payments = await db.sMembers("pending"); |
