aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/api/client
diff options
context:
space:
mode:
authorJavier Peletier <jm@epiclabs.io>2018-10-02 15:36:11 +0800
committerJavier Peletier <jm@epiclabs.io>2018-10-03 15:12:06 +0800
commit696bc9b01ce0ed3347fa1bd64460ccc08091e90a (patch)
treee2c9a4ae0689443b27679831904947a39fb8f20b /swarm/api/client
parent58c0879c2fbc9f88f35ba503674088da23a8a5a7 (diff)
downloadgo-tangerine-696bc9b01ce0ed3347fa1bd64460ccc08091e90a.tar
go-tangerine-696bc9b01ce0ed3347fa1bd64460ccc08091e90a.tar.gz
go-tangerine-696bc9b01ce0ed3347fa1bd64460ccc08091e90a.tar.bz2
go-tangerine-696bc9b01ce0ed3347fa1bd64460ccc08091e90a.tar.lz
go-tangerine-696bc9b01ce0ed3347fa1bd64460ccc08091e90a.tar.xz
go-tangerine-696bc9b01ce0ed3347fa1bd64460ccc08091e90a.tar.zst
go-tangerine-696bc9b01ce0ed3347fa1bd64460ccc08091e90a.zip
swarm/storage/feeds: renamed vars that can conflict with package name
Diffstat (limited to 'swarm/api/client')
-rw-r--r--swarm/api/client/client_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/swarm/api/client/client_test.go b/swarm/api/client/client_test.go
index 4fad7fbc7..2aecdb299 100644
--- a/swarm/api/client/client_test.go
+++ b/swarm/api/client/client_test.go
@@ -508,12 +508,12 @@ func TestClientCreateUpdateFeed(t *testing.T) {
// now try retrieving feed updates without a manifest
- feed := &feeds.Feed{
+ fd := &feeds.Feed{
Topic: topic,
User: signer.Address(),
}
- lookupParams := feeds.NewQueryLatest(feed, lookup.NoClue)
+ lookupParams := feeds.NewQueryLatest(fd, lookup.NoClue)
reader, err = client.QueryFeed(lookupParams, "")
if err != nil {
t.Fatalf("Error retrieving feed updates: %s", err)