diff options
| author | Adam Soltys <[email protected]> | 2024-02-22 15:26:36 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-02-22 15:26:36 -0800 |
| commit | e5f4739328bed902fd621ff73eb25d21611f7d2b (patch) | |
| tree | 0fa56992466cc2913edd27a9691be709a7e1ca7a | |
| parent | e295b8d349c1206d270587ac282485777a7d80a5 (diff) | |
| download | coinos-server-e5f4739328bed902fd621ff73eb25d21611f7d2b.tar.gz coinos-server-e5f4739328bed902fd621ff73eb25d21611f7d2b.zip | |
check for payment
| -rw-r--r-- | routes/payments.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/payments.js b/routes/payments.js index 9b78e0e8..9891c661 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -227,6 +227,7 @@ export default { if (category === "send") { let p = await g(`payment:${txid}`); if (typeof p === "string") p = await g(`payment:${p}`); + if (!p) continue; if (confirmations >= 1) p.confirmed = true; await s(`payment:${p.id}`, p); |
