aboutsummaryrefslogtreecommitdiffstats
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
parent243d4ebfc344c8b98b736c4673be80cc7183278f (diff)
downloadcoinos-server-9c77d45cfb56e79e97b70678e21b8d6a56ec6c78.tar.gz
coinos-server-9c77d45cfb56e79e97b70678e21b8d6a56ec6c78.zip
fix sync
-rwxr-xr-xbun.lockbbin207855 -> 207855 bytes
-rw-r--r--lib/payments.ts2
2 files changed, 1 insertions, 1 deletions
diff --git a/bun.lockb b/bun.lockb
index c9a8159f..ac190d6f 100755
--- a/bun.lockb
+++ b/bun.lockb
Binary files differ
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 });