Skip to content

Commit

Permalink
everything working again
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo committed Aug 26, 2023
1 parent dc7ac2e commit 5997d80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/contracts/identity/context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const IdentityContractProvider = ({ children }: Props) => {
const _chains: Chains = {};

for await (const item of output) {
const chainId = Number(item[0]);
const chainId = parseInt(item[0].replace(/,/g, ""));
const { accountType, rpcUrls } = item[1];
const info = await getChainInfo(rpcUrls, chainId);
if (info)
Expand Down Expand Up @@ -186,7 +186,7 @@ const IdentityContractProvider = ({ children }: Props) => {
const _addresses: Array<Address> = [];
for (let idx = 0; idx < records.length; ++idx) {
const record = records[idx];
const chainId: ChainId = Number(record[0]);
const chainId: ChainId = parseInt(record[0].replace(/,/g, ""));
const address = record[1]; // FIXME: Decode address here
_addresses.push({
chainId,
Expand Down

0 comments on commit 5997d80

Please sign in to comment.