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/hive_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/hive_test.go')
-rw-r--r-- | swarm/network/hive_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/swarm/network/hive_test.go b/swarm/network/hive_test.go index 059c3dc96..56adc5a8e 100644 --- a/swarm/network/hive_test.go +++ b/swarm/network/hive_test.go @@ -70,6 +70,9 @@ func TestHiveStatePersistance(t *testing.T) { defer os.RemoveAll(dir) store, err := state.NewDBStore(dir) //start the hive with an empty dbstore + if err != nil { + t.Fatal(err) + } params := NewHiveParams() s, pp := newHiveTester(t, params, 5, store) @@ -90,6 +93,9 @@ func TestHiveStatePersistance(t *testing.T) { store.Close() persistedStore, err := state.NewDBStore(dir) //start the hive with an empty dbstore + if err != nil { + t.Fatal(err) + } s1, pp := newHiveTester(t, params, 1, persistedStore) |