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
878e35bf
Commit
878e35bf
authored
Nov 26, 2019
by
Felföldi Zsolt
Committed by
Péter Szilágyi
Nov 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
les: fix clientInfo deadlock (#20395)
parent
2e98706a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
api.go
les/api.go
+1
-1
No files found.
les/api.go
View file @
878e35bf
...
...
@@ -108,7 +108,7 @@ func (api *PrivateLightServerAPI) clientInfo(c *clientInfo, id enode.ID) map[str
info
[
"priority"
]
=
pb
!=
0
}
else
{
info
[
"isConnected"
]
=
false
pb
:=
api
.
server
.
clientPool
.
getPosBalance
(
id
)
pb
:=
api
.
server
.
clientPool
.
ndb
.
getOrNewPB
(
id
)
info
[
"pricing/balance"
],
info
[
"pricing/balanceMeta"
]
=
pb
.
value
,
pb
.
meta
info
[
"priority"
]
=
pb
.
value
!=
0
}
...
...
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