mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
routing: properly use vertexDecay for vertexes in missionControl
This commit is contained in:
parent
f555f29c7f
commit
209fb98d0f
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ func (m *missionControl) GraphPruneView() *graphPruneView {
|
|||
// view we'll return.
|
||||
vertexes := make(map[vertex]struct{})
|
||||
for vertex, pruneTime := range m.failedVertexes {
|
||||
if now.Sub(pruneTime) >= edgeDecay {
|
||||
if now.Sub(pruneTime) >= vertexDecay {
|
||||
log.Tracef("Pruning decayed failure report for vertex %v "+
|
||||
"from Mission Control", vertex)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue