diff options
| author | Adam Soltys <[email protected]> | 2026-02-11 20:10:43 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-11 20:10:43 -0800 |
| commit | 56a04684c1fb77ea7b21afc6b0d2e1c4773906f6 (patch) | |
| tree | d6bc2557c56b93177bb14aa376847c6e123a4862 /src/lib/ark.ts | |
| parent | 13466248004327e9a026cb89f94926f9b060d1c1 (diff) | |
| download | coinos-ui-56a04684c1fb77ea7b21afc6b0d2e1c4773906f6.tar.gz coinos-ui-56a04684c1fb77ea7b21afc6b0d2e1c4773906f6.zip | |
format
Diffstat (limited to 'src/lib/ark.ts')
| -rw-r--r-- | src/lib/ark.ts | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/ark.ts b/src/lib/ark.ts index 51e378c3..61668c3a 100644 --- a/src/lib/ark.ts +++ b/src/lib/ark.ts @@ -95,14 +95,11 @@ export const syncTransactions = async (aid: string) => { return post("/post/ark/sync", { transactions, aid }); }; -export const vtxoKey = (v: { txid: string; vout: number }) => - `${v.txid}:${v.vout}`; +export const vtxoKey = (v: { txid: string; vout: number }) => `${v.txid}:${v.vout}`; export const getProcessedVtxos = (): Set<string> => { try { - return new Set( - JSON.parse(localStorage.getItem("processedArkVtxos") || "[]"), - ); + return new Set(JSON.parse(localStorage.getItem("processedArkVtxos") || "[]")); } catch { return new Set(); } |
