diff options
| author | Adam Soltys <[email protected]> | 2026-02-15 22:26:43 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-15 22:26:43 -0800 |
| commit | eedf7695d64e4c00af3d178484900c7c57087ac0 (patch) | |
| tree | a35e0dcc44b4f753d392af3f6ae350254a8c6e6c /lib/zmq.ts | |
| parent | ba2fbfe2901db35bb0cc688757f7e88dc52ff7b6 (diff) | |
| download | coinos-server-eedf7695d64e4c00af3d178484900c7c57087ac0.tar.gz coinos-server-eedf7695d64e4c00af3d178484900c7c57087ac0.zip | |
ark refresh
Diffstat (limited to 'lib/zmq.ts')
| -rw-r--r-- | lib/zmq.ts | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |
