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/update.go | |
parent | f1e86ad9cf0470051b7106ee83794d27276b528d (diff) | |
download | go-tangerine-b35622cf3c758d96874f287d137725946fc6341d.tar go-tangerine-b35622cf3c758d96874f287d137725946fc6341d.tar.gz go-tangerine-b35622cf3c758d96874f287d137725946fc6341d.tar.bz2 go-tangerine-b35622cf3c758d96874f287d137725946fc6341d.tar.lz go-tangerine-b35622cf3c758d96874f287d137725946fc6341d.tar.xz go-tangerine-b35622cf3c758d96874f287d137725946fc6341d.tar.zst go-tangerine-b35622cf3c758d96874f287d137725946fc6341d.zip |
swarm/storage/mru: Renamed all comments to Feeds
Diffstat (limited to 'swarm/storage/mru/update.go')
-rw-r--r-- | swarm/storage/mru/update.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swarm/storage/mru/update.go b/swarm/storage/mru/update.go index 892cb9d1b..f6e70b4d8 100644 --- a/swarm/storage/mru/update.go +++ b/swarm/storage/mru/update.go @@ -37,7 +37,7 @@ type Header struct { // Update encapsulates the information sent as part of a feed update type Update struct { Header Header // - ID // Resource update identifying information + ID // Feed Update identifying information data []byte // actual data payload } @@ -86,7 +86,7 @@ func (r *Update) binaryLength() int { // binaryGet populates this instance from the information contained in the passed byte slice func (r *Update) binaryGet(serializedData []byte) error { if len(serializedData) < minimumUpdateDataLength { - return NewErrorf(ErrNothingToReturn, "chunk less than %d bytes cannot be a resource update chunk", minimumUpdateDataLength) + return NewErrorf(ErrNothingToReturn, "chunk less than %d bytes cannot be a feed update chunk", minimumUpdateDataLength) } dataLength := len(serializedData) - idLength - headerLength // at this point we can be satisfied that we have the correct data length to read |