Skip to content

Commit

Permalink
fix(cacheURL): update ario cache url setting pattern to use custom ur…
Browse files Browse the repository at this point in the history
…l appropriately
  • Loading branch information
atticusofsparta committed Feb 24, 2024
1 parent cc037ac commit c76e67d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/ar-io.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,7 @@ export class ArIO {

constructor({ remoteCacheUrl }: { remoteCacheUrl?: string }) {
this.cache = new ArNSRemoteCache({ url: remoteCacheUrl });
this.testnet = this.cache.setContractTxId(ARNS_TESTNET_REGISTRY_TX);
this.devnet = this.cache.setContractTxId(ARNS_DEVNET_REGISTRY_TX);
}
}

0 comments on commit c76e67d

Please sign in to comment.