From 9c77d45cfb56e79e97b70678e21b8d6a56ec6c78 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 10 Sep 2024 02:59:19 +0000 Subject: fix sync --- lib/payments.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 }); -- cgit v1.2.3