Skip to content

Commit b23083b

Browse files
committed
fix default windows ipc provider path
1 parent 4b509a7 commit b23083b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

newsfragments/3058.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed default windows IPC provider path to work with python 3.11

web3/providers/ipc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def get_default_ipc_path() -> Optional[str]:
102102
return None
103103

104104
elif sys.platform == "win32":
105-
ipc_path = os.path.join("\\\\", ".", "pipe", "geth.ipc")
105+
ipc_path = "\\\.\pipe\geth.ipc"
106106
if os.path.exists(ipc_path):
107107
return ipc_path
108108
return None

0 commit comments

Comments
 (0)