mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
swarm/storage/mock/explorer: not-zero test values for invalid addr and key
This commit is contained in:
parent
91c574cab0
commit
baf36d00c6
1 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue