Skip to content

Commit

Permalink
Fix polygon chain id
Browse files Browse the repository at this point in the history
  • Loading branch information
vahnag committed Jul 31, 2024
1 parent 3f85f23 commit 7b90255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function extractChainAndNetworks(
if (parts.length !== 2) {
throw new Error('Should have 2 parts');
}
const chain = parts[0];
const chain = parts[0] === 'polygon' ? 'matic' : parts[0];
const network = parts[1];

const networks = chainsToNetworks.get(chain);
Expand Down

0 comments on commit 7b90255

Please sign in to comment.