mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
swarm/storage: bug fix in GetAllReferences
This commit is contained in:
parent
61752ac4dc
commit
1ea6548c46
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ func (f *FileStore) GetAllReferences(ctx context.Context, data io.Reader, toEncr
|
||||||
// collect all references
|
// collect all references
|
||||||
addrs = NewAddressCollection(0)
|
addrs = NewAddressCollection(0)
|
||||||
for _, ref := range putter.References {
|
for _, ref := range putter.References {
|
||||||
arr = append(arr, Address(ref))
|
addrs = append(addrs, Address(ref))
|
||||||
}
|
}
|
||||||
sort.Sort(addrs)
|
sort.Sort(addrs)
|
||||||
return addrs, nil
|
return addrs, nil
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue