aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-09-10 02:59:19 +0000
committerAdam Soltys <[email protected]>2024-09-10 02:59:19 +0000
commit9c77d45cfb56e79e97b70678e21b8d6a56ec6c78 (patch)
treeb6ebb14a923df6d25bb22ab063ffe84620877d8a /lib
parent243d4ebfc344c8b98b736c4673be80cc7183278f (diff)
downloadcoinos-server-9c77d45cfb56e79e97b70678e21b8d6a56ec6c78.tar.gz
coinos-server-9c77d45cfb56e79e97b70678e21b8d6a56ec6c78.zip
fix sync
Diffstat (limited to 'lib')
-rw-r--r--lib/payments.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/payments.ts b/lib/payments.ts
index 426c4884..0f72b2c2 100644
--- a/lib/payments.ts
+++ b/lib/payments.ts
@@ -679,7 +679,7 @@ export let catchUp = async () => {
try {
if (await db.zScore("seen", txid)) continue;
await got.post(`http://localhost:${process.env.PORT || 3119}/confirm`, {
- json: { txid, wallet: config.bitcoin.wallet, type },
+ json: { txid, wallet: config[type].wallet, type },
});
await db.zAdd("seen", { score: Date.now(), value: txid });