Skip to content

Commit

Permalink
remove localnet contract check
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Jan 17, 2025
1 parent 8d8d330 commit b2d6147
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/client/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ export class ZetaChainClient {

if (params.contracts) {
this.contracts = params.contracts;
} else if (this.network === "localnet" || this.network === "localhost") {
throw new Error("Localnet contracts are required");
} else {
this.contracts = this.network.includes("test")
? testnetAddresses
Expand Down

0 comments on commit b2d6147

Please sign in to comment.