Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
62c239f6
Unverified
Commit
62c239f6
authored
Feb 28, 2018
by
b00ris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whisper: fix typo
parent
cf52d5c9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
peer_test.go
whisper/whisperv6/peer_test.go
+2
-2
No files found.
whisper/whisperv6/peer_test.go
View file @
62c239f6
...
@@ -472,9 +472,9 @@ func checkBloomFilterExchangeOnce(t *testing.T, mustPass bool) bool {
...
@@ -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
)
eq
u
als
:=
bytes
.
Equal
(
peer
.
bloomFilter
,
masterBloomFilter
)
peer
.
bloomMu
.
Unlock
()
peer
.
bloomMu
.
Unlock
()
if
!
eqals
{
if
!
eq
u
als
{
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment