mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
swarm: trouble loading manifest entries whose key ends in a slash '/' #3467
This commit is contained in:
parent
3e3edcc465
commit
3837dc5d78
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ func RegularSlashes(path string) (res string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *manifestTrie) getEntry(spath string) (entry *manifestTrieEntry, fullpath string) {
|
func (self *manifestTrie) getEntry(spath string) (entry *manifestTrieEntry, fullpath string) {
|
||||||
path := RegularSlashes(spath)
|
path := RegularSlashes(spath) + "/"
|
||||||
var pos int
|
var pos int
|
||||||
quitC := make(chan bool)
|
quitC := make(chan bool)
|
||||||
entry, pos = self.findPrefixOf(path, quitC)
|
entry, pos = self.findPrefixOf(path, quitC)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue