aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/storage/mru/request.go
diff options
context:
space:
mode:
Diffstat (limited to 'swarm/storage/mru/request.go')
-rw-r--r--swarm/storage/mru/request.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/storage/mru/request.go b/swarm/storage/mru/request.go
index dd71f855d..af2ccf5c7 100644
--- a/swarm/storage/mru/request.go
+++ b/swarm/storage/mru/request.go
@@ -182,7 +182,7 @@ func (r *Request) fromJSON(j *updateRequestJSON) error {
var declaredRootAddr storage.Address
var declaredMetaHash []byte
- declaredRootAddr, err = decodeHexSlice(j.RootAddr, storage.KeyLength, "rootAddr")
+ declaredRootAddr, err = decodeHexSlice(j.RootAddr, storage.AddressLength, "rootAddr")
if err != nil {
return err
}