From 9abcd851edbf3c262b2e3fd9a5340d3aefc5075d Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 24 Sep 2022 16:30:31 +0000 Subject: fix variable reference --- routes/payments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/payments.js b/routes/payments.js index fa7da641..298309e0 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -52,7 +52,7 @@ app.post("/sendToTokenHolders", auth, async (req, res, next) => { app.get("/except", adminAuth, (req, res) => { let s = fs.createWriteStream("exceptions", { flags: "a" }); - unaccounted.map(tx => s.write(tx.txid + "\n")); + store.unaccounted.map(tx => s.write(tx.txid + "\n")); l("updated exceptions"); res.send("updated exceptions"); }); -- cgit v1.2.3