diff options
Diffstat (limited to 'storage/memory')
-rw-r--r-- | storage/memory/storage.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/memory/storage.go b/storage/memory/storage.go index 0f66f1e..2e32509 100644 --- a/storage/memory/storage.go +++ b/storage/memory/storage.go @@ -165,7 +165,7 @@ func (o *ObjectStorage) Begin() storer.Transaction { } func (o *ObjectStorage) ForEachObjectHash(fun func(plumbing.Hash) error) error { - for h, _ := range o.Objects { + for h := range o.Objects { err := fun(h) if err != nil { if err == storer.ErrStop { |