From eedf7695d64e4c00af3d178484900c7c57087ac0 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 15 Feb 2026 22:26:43 -0800 Subject: ark refresh --- lib/zmq.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/zmq.ts') 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 -- cgit v1.2.3