From 9e97e040617bfa0b40150c0eba298bf186bbeeaf Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 24 Feb 2026 13:12:38 -0800 Subject: use ark config var --- lib/ark.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/ark.ts b/lib/ark.ts index 2c7fbe2b..ad708b7f 100644 --- a/lib/ark.ts +++ b/lib/ark.ts @@ -166,7 +166,7 @@ export const verifyArkVtxo = async (hash: string) => { const words = new Uint8Array(bech32m.fromWords(decoded.words)); const vtxoHex = Buffer.from(words.slice(33, 65)).toString("hex"); const r = await fetch( - `http://arkd:7070/v1/indexer/vtxos?scripts=5120${vtxoHex}&spendable_only=true`, + `${config.ark.arkServerUrl}/v1/indexer/vtxos?scripts=5120${vtxoHex}&spendable_only=true`, ); const { vtxos } = await r.json(); return vtxos?.some((v: any) => v.outpoint?.txid === hash) ?? false; -- cgit v1.2.3