aboutsummaryrefslogtreecommitdiffstats
path: root/lib/zmq.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-15 22:26:43 -0800
committerAdam Soltys <[email protected]>2026-02-15 22:26:43 -0800
commiteedf7695d64e4c00af3d178484900c7c57087ac0 (patch)
treea35e0dcc44b4f753d392af3f6ae350254a8c6e6c /lib/zmq.ts
parentba2fbfe2901db35bb0cc688757f7e88dc52ff7b6 (diff)
downloadcoinos-server-eedf7695d64e4c00af3d178484900c7c57087ac0.tar.gz
coinos-server-eedf7695d64e4c00af3d178484900c7c57087ac0.zip
ark refresh
Diffstat (limited to 'lib/zmq.ts')
-rw-r--r--lib/zmq.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/zmq.ts b/lib/zmq.ts
index b743a750..09f5a4ba 100644
--- a/lib/zmq.ts
+++ b/lib/zmq.ts
@@ -1,6 +1,7 @@
import net from "node:net";
import config from "$config";
import { btcNetwork } from "$lib/esplora";
+import { refreshArkWallet } from "$lib/ark";
import { err, l, warn } from "$lib/logging";
import { processWatchedTx } from "$lib/payments";
import { Transaction } from "@scure/btc-signer";
@@ -116,6 +117,8 @@ const handleRawBlock = async (raw: Uint8Array) => {
warn("zmq block tx decode failed", i, e.message);
}
}
+
+ refreshArkWallet().catch(() => {});
};
// ZMTP 3.0 NULL protocol