]> git.meshlink.io Git - meshlink/commit
Don't call graph() twice when a new connection replaces an older one.
authorGuus Sliepen <guus@meshlink.io>
Sun, 27 Oct 2019 13:04:29 +0000 (14:04 +0100)
committerGuus Sliepen <guus@meshlink.io>
Sun, 27 Oct 2019 15:30:19 +0000 (16:30 +0100)
commitfcaa1807cfe424af2498c75b9c6ea6f490dc15ce
tree31f4d65ed948660f8269374a7d63e0048c5413e8
parent79d712373a1beb6bca71af56b1540834d467dce1
Don't call graph() twice when a new connection replaces an older one.

This prevents a node from being considered unreachable for just a small
moment, even though we know it is reachable.
src/protocol_auth.c
test/channels-fork.c