swarm/storage/mock/explorer: not-zero test values for invalid addr and key

This commit is contained in:
Janos Guljas 2019-02-19 11:46:50 +01:00
parent 91c574cab0
commit baf36d00c6

View file

@ -82,9 +82,10 @@ func testHandler(t *testing.T, globalStore mock.GlobalStorer) {
nodeKeys := make(map[string][]string) nodeKeys := make(map[string][]string)
// a node address that is not present in global store // a node address that is not present in global store
invalidAddr := "0x0000000000000000000000000000000000000000" invalidAddr := "0x7b8b72938c254cf002c4e1e714d27e022be88d93"
// a key that is not present in global store // a key that is not present in global store
invalidKey := "0000000000000000" invalidKey := "f9824192fb515cfb"
for i := 1; i <= nodeCount; i++ { for i := 1; i <= nodeCount; i++ {
b := make([]byte, 8) b := make([]byte, 8)