aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/storage/mru/lookup/lookup_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'swarm/storage/mru/lookup/lookup_test.go')
-rw-r--r--swarm/storage/mru/lookup/lookup_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/swarm/storage/mru/lookup/lookup_test.go b/swarm/storage/mru/lookup/lookup_test.go
index ca0bb73bb..34bcb61f0 100644
--- a/swarm/storage/mru/lookup/lookup_test.go
+++ b/swarm/storage/mru/lookup/lookup_test.go
@@ -38,9 +38,7 @@ func write(store Store, epoch lookup.Epoch, value *Data) {
}
func update(store Store, last lookup.Epoch, now uint64, value *Data) lookup.Epoch {
- var epoch lookup.Epoch
-
- epoch = lookup.GetNextEpoch(last, now)
+ epoch := lookup.GetNextEpoch(last, now)
write(store, epoch, value)