diff options
author | b00ris <b00ris@mail.ru> | 2018-02-28 19:38:42 +0800 |
---|---|---|
committer | b00ris <b00ris@mail.ru> | 2018-02-28 19:38:42 +0800 |
commit | 62c239f608ec2ec3721c33d5755ca2287c71f085 (patch) | |
tree | 719d236dda86499bf84bbc1929f9eb35492547ed /whisper | |
parent | cf52d5c91f4f9c583eecca63bce52c7df6dd2169 (diff) | |
download | dexon-62c239f608ec2ec3721c33d5755ca2287c71f085.tar.gz dexon-62c239f608ec2ec3721c33d5755ca2287c71f085.tar.zst dexon-62c239f608ec2ec3721c33d5755ca2287c71f085.zip |
whisper: fix typo
Diffstat (limited to 'whisper')
-rw-r--r-- | whisper/whisperv6/peer_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/whisper/whisperv6/peer_test.go b/whisper/whisperv6/peer_test.go index 3d3dbd88a..6d7754d79 100644 --- a/whisper/whisperv6/peer_test.go +++ b/whisper/whisperv6/peer_test.go @@ -472,9 +472,9 @@ func checkBloomFilterExchangeOnce(t *testing.T, mustPass bool) bool { for i, node := range nodes { for peer := range node.shh.peers { peer.bloomMu.Lock() - eqals := bytes.Equal(peer.bloomFilter, masterBloomFilter) + equals := bytes.Equal(peer.bloomFilter, masterBloomFilter) peer.bloomMu.Unlock() - if !eqals { + if !equals { if mustPass { t.Fatalf("node %d: failed to exchange bloom filter requirement in round %d. \n%x expected \n%x got", i, round, masterBloomFilter, peer.bloomFilter) |