diff options
author | Javier Peletier <jm@epiclabs.io> | 2018-09-30 13:48:49 +0800 |
---|---|---|
committer | Javier Peletier <jm@epiclabs.io> | 2018-10-03 15:12:06 +0800 |
commit | b35622cf3c758d96874f287d137725946fc6341d (patch) | |
tree | 3569c4e00a712997b737451f8a5a93095c717f80 /swarm/storage/mru/id.go | |
parent | f1e86ad9cf0470051b7106ee83794d27276b528d (diff) | |
download | dexon-b35622cf3c758d96874f287d137725946fc6341d.tar dexon-b35622cf3c758d96874f287d137725946fc6341d.tar.gz dexon-b35622cf3c758d96874f287d137725946fc6341d.tar.bz2 dexon-b35622cf3c758d96874f287d137725946fc6341d.tar.lz dexon-b35622cf3c758d96874f287d137725946fc6341d.tar.xz dexon-b35622cf3c758d96874f287d137725946fc6341d.tar.zst dexon-b35622cf3c758d96874f287d137725946fc6341d.zip |
swarm/storage/mru: Renamed all comments to Feeds
Diffstat (limited to 'swarm/storage/mru/id.go')
-rw-r--r-- | swarm/storage/mru/id.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swarm/storage/mru/id.go b/swarm/storage/mru/id.go index 09ef9e450..dcc88ac2a 100644 --- a/swarm/storage/mru/id.go +++ b/swarm/storage/mru/id.go @@ -29,7 +29,7 @@ import ( // ID uniquely identifies an update on the network. type ID struct { - Feed `json:"view"` + Feed `json:"feed"` lookup.Epoch `json:"epoch"` } @@ -38,7 +38,7 @@ type ID struct { // Epoch EpochLength const idLength = feedLength + lookup.EpochLength -// Addr calculates the resource update chunk address corresponding to this ID +// Addr calculates the feed update chunk address corresponding to this ID func (u *ID) Addr() (updateAddr storage.Address) { serializedData := make([]byte, idLength) var cursor int |