Skip to content

Commit

Permalink
yarn fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bh2smith committed Jan 15, 2025
1 parent af2251e commit 1c4f061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export async function isContract(

export function getClient(chainId: number, rpcUrl?: string): PublicClient {
// Caution: rpcUrl might not be aligned with chainId!
const options = rpcUrl? {rpcUrl}: {};
const options = rpcUrl ? { rpcUrl } : {};
return Network.fromChainId(chainId, options).client;
}

Expand Down

0 comments on commit 1c4f061

Please sign in to comment.