Skip to content

Commit

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

0 comments on commit e603cbc

Please sign in to comment.