routing: check pubkey when applying channel update
This commit is contained in:
1 parent
14f45d0722
commit
64b608bce0
3 files changed
+51
-30
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user