mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 20:56:42 +00:00
Merge branch 'bzz' of github.com:ethersphere/go-ethereum into bzz
This commit is contained in:
commit
585b52c472
1 changed files with 1 additions and 2 deletions
|
|
@ -292,8 +292,6 @@ func (self *Api) Upload(lpath, index string) (string, error) {
|
|||
return "", errors[i]
|
||||
}
|
||||
entry.Path = regularSlashes(entry.Path[start:])
|
||||
trie.addEntry(entry)
|
||||
|
||||
if entry.Path == index {
|
||||
ientry := &manifestTrieEntry{
|
||||
Path: "",
|
||||
|
|
@ -302,6 +300,7 @@ func (self *Api) Upload(lpath, index string) (string, error) {
|
|||
}
|
||||
trie.addEntry(ientry)
|
||||
}
|
||||
trie.addEntry(entry)
|
||||
}
|
||||
|
||||
err2 := trie.recalcAndStore()
|
||||
|
|
|
|||
Loading…
Reference in a new issue