aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-09-24 16:30:31 +0000
committerAdam Soltys <[email protected]>2022-09-24 16:30:31 +0000
commit9abcd851edbf3c262b2e3fd9a5340d3aefc5075d (patch)
treebfffdcad2de244862e18ac11ca126a62d6d4fdb4
parenta77ad1d9bbe7d7e3693db5cdcf9ec966fb988e67 (diff)
downloadcoinos-server-9abcd851edbf3c262b2e3fd9a5340d3aefc5075d.tar.gz
coinos-server-9abcd851edbf3c262b2e3fd9a5340d3aefc5075d.zip
fix variable reference
-rw-r--r--routes/payments.js2
1 files changed, 1 insertions, 1 deletions
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");
});