whisper: fix typo

pull/16214/head
b00ris 7 years ago
parent cf52d5c91f
commit 62c239f608
No known key found for this signature in database
GPG Key ID: 2F73E159EB73232C
  1. 4
      whisper/whisperv6/peer_test.go

@ -472,9 +472,9 @@ func checkBloomFilterExchangeOnce(t *testing.T, mustPass bool) bool {
for i, node := range nodes { for i, node := range nodes {
for peer := range node.shh.peers { for peer := range node.shh.peers {
peer.bloomMu.Lock() peer.bloomMu.Lock()
eqals := bytes.Equal(peer.bloomFilter, masterBloomFilter) equals := bytes.Equal(peer.bloomFilter, masterBloomFilter)
peer.bloomMu.Unlock() peer.bloomMu.Unlock()
if !eqals { if !equals {
if mustPass { if mustPass {
t.Fatalf("node %d: failed to exchange bloom filter requirement in round %d. \n%x expected \n%x got", t.Fatalf("node %d: failed to exchange bloom filter requirement in round %d. \n%x expected \n%x got",
i, round, masterBloomFilter, peer.bloomFilter) i, round, masterBloomFilter, peer.bloomFilter)

Loading…
Cancel
Save