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
This commit is contained in:
committed by
Viktor Trón
parent
81533deae5
commit
cf3b187bde
@ -112,6 +112,9 @@ func testPersistedStore(t *testing.T, store Store) {
|
||||
|
||||
as := []string{}
|
||||
err = store.Get("key2", &as)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
if len(as) != 3 {
|
||||
t.Fatalf("serialized array did not match expectation")
|
||||
|
Reference in New Issue
Block a user