aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/pss
diff options
context:
space:
mode:
Diffstat (limited to 'swarm/pss')
-rw-r--r--swarm/pss/client/client_test.go4
-rw-r--r--swarm/pss/pss_test.go5
-rw-r--r--swarm/pss/types.go4
3 files changed, 0 insertions, 13 deletions
diff --git a/swarm/pss/client/client_test.go b/swarm/pss/client/client_test.go
index 48edc6cce..cfef3c794 100644
--- a/swarm/pss/client/client_test.go
+++ b/swarm/pss/client/client_test.go
@@ -288,10 +288,6 @@ type testStore struct {
values map[string][]byte
}
-func newTestStore() *testStore {
- return &testStore{values: make(map[string][]byte)}
-}
-
func (t *testStore) Load(key string) ([]byte, error) {
return nil, nil
}
diff --git a/swarm/pss/pss_test.go b/swarm/pss/pss_test.go
index 574714114..66a90be62 100644
--- a/swarm/pss/pss_test.go
+++ b/swarm/pss/pss_test.go
@@ -976,11 +976,6 @@ func TestNetwork10000(t *testing.T) {
}
func testNetwork(t *testing.T) {
- type msgnotifyC struct {
- id enode.ID
- msgIdx int
- }
-
paramstring := strings.Split(t.Name(), "/")
nodecount, _ := strconv.ParseInt(paramstring[1], 10, 0)
msgcount, _ := strconv.ParseInt(paramstring[2], 10, 0)
diff --git a/swarm/pss/types.go b/swarm/pss/types.go
index 1e33ecdca..56c2c51dc 100644
--- a/swarm/pss/types.go
+++ b/swarm/pss/types.go
@@ -169,10 +169,6 @@ type stateStore struct {
values map[string][]byte
}
-func newStateStore() *stateStore {
- return &stateStore{values: make(map[string][]byte)}
-}
-
func (store *stateStore) Load(key string) ([]byte, error) {
return nil, nil
}