routing: check pubkey when applying channel update

This commit is contained in:
eugene authored and yyforyongyu committed 2022-10-27 03:09:02 +08:00
1 parent 14f45d0722
commit 64b608bce0
3 files changed
+51 -30

No files matched your search

+1 -1
View File
@@ -932,7 +932,7 @@ func (p *shardHandler) handleFailureMessage(rt *route.Route,
}
// Apply channel update to the channel edge policy in our db.
if !p.router.applyChannelUpdate(update, errSource) {
if !p.router.applyChannelUpdate(update) {
log.Debugf("Invalid channel update received: node=%v",
errVertex)
}