Skip to content

Commit 62c239f

Browse files
committed
whisper: fix typo
1 parent cf52d5c commit 62c239f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

whisper/whisperv6/peer_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,9 +472,9 @@ func checkBloomFilterExchangeOnce(t *testing.T, mustPass bool) bool {
472472
for i, node := range nodes {
473473
for peer := range node.shh.peers {
474474
peer.bloomMu.Lock()
475-
eqals := bytes.Equal(peer.bloomFilter, masterBloomFilter)
475+
equals := bytes.Equal(peer.bloomFilter, masterBloomFilter)
476476
peer.bloomMu.Unlock()
477-
if !eqals {
477+
if !equals {
478478
if mustPass {
479479
t.Fatalf("node %d: failed to exchange bloom filter requirement in round %d. \n%x expected \n%x got",
480480
i, round, masterBloomFilter, peer.bloomFilter)

0 commit comments

Comments
 (0)