Skip to content

Commit

Permalink
Update src/graphql/helpers.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR committed Jul 10, 2024
1 parent e603cbc commit 0a3f009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphql/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ async function getControllerDomains(address: string): Promise<string[]> {
body: JSON.stringify({
method: 'lookup_domains',
params: address,
network: process.env.NETWORK === 'mainnet' ? '1' : '11155111'
network: network === 'testnet' ? '11155111' : '1'
})
});
const { result, error } = (await response.json()) as JsonRpcResponse;
Expand Down

0 comments on commit 0a3f009

Please sign in to comment.