mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
swarm/storage: append to nil slice
This commit is contained in:
parent
bb5e51e33b
commit
b36816a2ef
1 changed files with 0 additions and 1 deletions
|
|
@ -104,7 +104,6 @@ func (f *FileStore) GetAllReferences(ctx context.Context, data io.Reader, toEncr
|
|||
// create a special kind of putter, which only will store the references
|
||||
putter := &hashExplorer{
|
||||
hasherStore: NewHasherStore(f.ChunkStore, f.hashFunc, toEncrypt),
|
||||
references: make([]Reference, 0),
|
||||
}
|
||||
// do the actual splitting anyway, no way around it
|
||||
_, wait, err := PyramidSplit(ctx, data, putter, putter)
|
||||
|
|
|
|||
Loading…
Reference in a new issue