diff options
author | Anton Evangelatov <anton.evangelatov@gmail.com> | 2018-11-08 03:39:08 +0800 |
---|---|---|
committer | Viktor TrĂ³n <viktor.tron@gmail.com> | 2018-11-08 03:39:08 +0800 |
commit | cf3b187bdef59078ba6570a2f5ee046ab87bcefd (patch) | |
tree | fbc16d9216df0d32e745f88cb3ac22e6dab256bf /swarm/network/simulation/bucket_test.go | |
parent | 81533deae5ee4a7ec08842e2b6647f3affde5a71 (diff) | |
download | go-tangerine-cf3b187bdef59078ba6570a2f5ee046ab87bcefd.tar go-tangerine-cf3b187bdef59078ba6570a2f5ee046ab87bcefd.tar.gz go-tangerine-cf3b187bdef59078ba6570a2f5ee046ab87bcefd.tar.bz2 go-tangerine-cf3b187bdef59078ba6570a2f5ee046ab87bcefd.tar.lz go-tangerine-cf3b187bdef59078ba6570a2f5ee046ab87bcefd.tar.xz go-tangerine-cf3b187bdef59078ba6570a2f5ee046ab87bcefd.tar.zst go-tangerine-cf3b187bdef59078ba6570a2f5ee046ab87bcefd.zip |
swarm, cmd/swarm: address ineffectual assignments (#18048)
* swarm, cmd/swarm: address ineffectual assignments
* swarm/network: remove unused vars from testHandshake
* swarm/storage/feed: revert cursor changes
Diffstat (limited to 'swarm/network/simulation/bucket_test.go')
-rw-r--r-- | swarm/network/simulation/bucket_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swarm/network/simulation/bucket_test.go b/swarm/network/simulation/bucket_test.go index 461d99825..69df19bfe 100644 --- a/swarm/network/simulation/bucket_test.go +++ b/swarm/network/simulation/bucket_test.go @@ -94,7 +94,7 @@ func TestServiceBucket(t *testing.T) { t.Fatalf("expected %q, got %q", customValue, s) } - v, ok = sim.NodeItem(id2, customKey) + _, ok = sim.NodeItem(id2, customKey) if ok { t.Fatal("bucket item should not be found") } @@ -119,7 +119,7 @@ func TestServiceBucket(t *testing.T) { t.Fatalf("expected %q, got %q", testValue+id1.String(), s) } - v, ok = items[id2] + _, ok = items[id2] if ok { t.Errorf("node 2 item should not be found") } |