rpcserver: fix stats undercount in GetNetworkInfo#10963
Conversation
🔴 PR Severity: CRITICAL
🔴 Critical (1 file)
AnalysisThe only file changed is To override, add a |
ziggie1984
left a comment
There was a problem hiding this comment.
LGTM, thank you for the fix
|
Could you add release notes for LND 22 |
On an already-seen channel, the loop returned from the whole node callback instead of continuing, skipping the node's remaining channels, this undercounted the stats.
|
done |
I was seeing dubious numbers from
getnetworkinfocommand which did not match at all to the graph fromdescribegraph.Seems the issue is that it is returning early instead of continuing in the loop in
GetNetworkInfoso it ended up under counting the stats.Finding the issue in the code was LLM-assisted