Skip to content

Commit 64937b8

Browse files
authoredMar 6, 2025
Revert "fix path parsing bug on windows (prysmaticlabs#14931)"
This reverts commit e39f44b.
1 parent f40b4f1 commit 64937b8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed
 

‎beacon-chain/db/filesystem/iteration.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package filesystem
33
import (
44
"fmt"
55
"io"
6+
"path"
67
"path/filepath"
78
"strconv"
89
"strings"
@@ -192,7 +193,7 @@ func rootFromPath(p string) ([32]byte, error) {
192193
}
193194

194195
func idxFromPath(p string) (uint64, error) {
195-
p = filepath.Base(p)
196+
p = path.Base(p)
196197

197198
if !isSszFile(p) {
198199
return 0, errors.Wrap(errNotBlobSSZ, "does not have .ssz extension")

‎changelog/kasey_windows-layout-fix.md

-2
This file was deleted.

0 commit comments

Comments
 (0)