good morning!!!!

Skip to content
Snippets Groups Projects
Commit 878e35bf authored by Zsolt Felföldi's avatar Zsolt Felföldi Committed by Péter Szilágyi
Browse files

les: fix clientInfo deadlock (#20395)

parent 2e98706a
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment