Skip to content

Commit d900f09

Browse files
committed
fix: better use different name, Fed probably want this change
1 parent 1513541 commit d900f09

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/contracts-sdk/src/lib/contracts-sdk.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -625,12 +625,14 @@ export class LitContracts {
625625
rpcUrl?: string
626626
) {
627627
let provider: ethers.providers.StaticJsonRpcProvider;
628-
rpcUrl = rpcUrl || RPC_URL_BY_NETWORK[network];
628+
629+
const _rpcUrl = rpcUrl || RPC_URL_BY_NETWORK[network];
630+
629631
if (context && 'provider' in context!) {
630632
provider = context.provider;
631633
} else {
632634
provider = new ethers.providers.StaticJsonRpcProvider({
633-
url: rpcUrl,
635+
url: _rpcUrl,
634636
skipFetchSetup: true,
635637
});
636638
}

0 commit comments

Comments
 (0)