aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/storage/mru/query.go
diff options
context:
space:
mode:
Diffstat (limited to 'swarm/storage/mru/query.go')
-rw-r--r--swarm/storage/mru/query.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/storage/mru/query.go b/swarm/storage/mru/query.go
index 9a0f261c4..13a28eaab 100644
--- a/swarm/storage/mru/query.go
+++ b/swarm/storage/mru/query.go
@@ -36,7 +36,7 @@ type Query struct {
// useful to parse query strings
func (q *Query) FromValues(values Values) error {
time, _ := strconv.ParseUint(values.Get("time"), 10, 64)
- q.TimeLimit = uint64(time)
+ q.TimeLimit = time
level, _ := strconv.ParseUint(values.Get("hint.level"), 10, 32)
q.Hint.Level = uint8(level)