Skip to content

Commit 4feefef

Browse files
committed
fix script
1 parent f9d4769 commit 4feefef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/scripts/rpc-workarounds.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function normalizeEmptyAddressFields<T>(payload: T): T {
2323
}
2424

2525
export function applyRpcAddressWorkaround(): void {
26-
const provider = ethers.provider as typeof ethers.provider & {
26+
const provider = ethers.provider as unknown as {
2727
_hardhatProvider?: { send?: JsonRpcSend; [PATCH_FLAG]?: boolean };
2828
};
2929

0 commit comments

Comments
 (0)