aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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 });