Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed Feb 21, 2023
1 parent 38b34b5 commit 7c92a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/masa.ts
Expand Up @@ -43,7 +43,7 @@ export const createNewMasa = async ({
const chainId: number = await newSigner.getChainId();
console.log({ NETWORK: chainId });
defaultNetwork = getNetworkNameByChainId(chainId);
} catch (error: unknown) {
} catch (error) {
if (error instanceof Error) {
console.warn('Getting network failed!', error.message);
}
Expand Down

0 comments on commit 7c92a93

Please sign in to comment.