diff options
| author | Adam Soltys <[email protected]> | 2026-02-24 13:12:38 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-24 13:12:41 -0800 |
| commit | 9e97e040617bfa0b40150c0eba298bf186bbeeaf (patch) | |
| tree | 47a9499b2290dcee6e035b580e7ee416655eda39 | |
| parent | a01a6f51c3b7b813e84a6f61aa878d66dcdb5d29 (diff) | |
| download | coinos-server-9e97e040617bfa0b40150c0eba298bf186bbeeaf.tar.gz coinos-server-9e97e040617bfa0b40150c0eba298bf186bbeeaf.zip | |
use ark config var
| -rw-r--r-- | lib/ark.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
