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
8d434f6a
Commit
8d434f6a
authored
Oct 27, 2017
by
Felföldi Zsolt
Committed by
Péter Szilágyi
Oct 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
les, core/bloombits: post-LES/2 fixes (#15391)
* les: fix topic ID * core/bloombits: fix interface conversion
parent
6dafec06
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
matcher.go
core/bloombits/matcher.go
+4
-1
backend.go
les/backend.go
+1
-1
No files found.
core/bloombits/matcher.go
View file @
8d434f6a
...
@@ -534,7 +534,10 @@ func (s *MatcherSession) Close() {
...
@@ -534,7 +534,10 @@ func (s *MatcherSession) Close() {
// Error returns any failure encountered during the matching session.
// Error returns any failure encountered during the matching session.
func
(
s
*
MatcherSession
)
Error
()
error
{
func
(
s
*
MatcherSession
)
Error
()
error
{
return
s
.
err
.
Load
()
.
(
error
)
if
err
:=
s
.
err
.
Load
();
err
!=
nil
{
return
err
.
(
error
)
}
return
nil
}
}
// AllocateRetrieval assigns a bloom bit index to a client process that can either
// AllocateRetrieval assigns a bloom bit index to a client process that can either
...
...
les/backend.go
View file @
8d434f6a
...
@@ -145,7 +145,7 @@ func lesTopic(genesisHash common.Hash, protocolVersion uint) discv5.Topic {
...
@@ -145,7 +145,7 @@ func lesTopic(genesisHash common.Hash, protocolVersion uint) discv5.Topic {
default
:
default
:
panic
(
nil
)
panic
(
nil
)
}
}
return
discv5
.
Topic
(
name
+
common
.
Bytes2Hex
(
genesisHash
.
Bytes
()[
0
:
8
]))
return
discv5
.
Topic
(
name
+
"@"
+
common
.
Bytes2Hex
(
genesisHash
.
Bytes
()[
0
:
8
]))
}
}
type
LightDummyAPI
struct
{}
type
LightDummyAPI
struct
{}
...
...
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