Skip to content

Commit

Permalink
fix(ario): remove unused cache property
Browse files Browse the repository at this point in the history
  • Loading branch information
atticusofsparta committed Feb 26, 2024
1 parent dc82d21 commit 7f2d02e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/common/ar-io.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,10 @@ import { ArIOContract } from '../types/index.js';
import { ArNSRemoteCache } from './index.js';

export class ArIO {
protected cache: ArIOContract = new ArNSRemoteCache({
contractTxId: ARNS_TESTNET_REGISTRY_TX,
});

public testnet: ArIOContract;
public devnet: ArIOContract;

constructor({ remoteCacheUrl }: { remoteCacheUrl?: string }) {
this.cache = new ArNSRemoteCache({
url: remoteCacheUrl,
contractTxId: ARNS_TESTNET_REGISTRY_TX,
});
this.testnet = new ArNSRemoteCache({
contractTxId: ARNS_TESTNET_REGISTRY_TX,
url: remoteCacheUrl,
Expand Down

0 comments on commit 7f2d02e

Please sign in to comment.