mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 22:25:24 +01:00
discovery: use debug logging level for rejected announcements
This commit is contained in:
parent
2cb6878568
commit
f7c8938e7d
1 changed files with 3 additions and 3 deletions
|
@ -461,7 +461,7 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement(nMsg *networkMsg) []l
|
|||
|
||||
if err := d.cfg.Router.AddNode(node); err != nil {
|
||||
if routing.IsError(err, routing.ErrOutdated, routing.ErrIgnored) {
|
||||
log.Info(err)
|
||||
log.Debug(err)
|
||||
} else {
|
||||
log.Error(err)
|
||||
}
|
||||
|
@ -539,7 +539,7 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement(nMsg *networkMsg) []l
|
|||
if routing.IsError(err, routing.ErrOutdated,
|
||||
routing.ErrIgnored) {
|
||||
|
||||
log.Info(err)
|
||||
log.Debug(err)
|
||||
} else {
|
||||
log.Error(err)
|
||||
}
|
||||
|
@ -630,7 +630,7 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement(nMsg *networkMsg) []l
|
|||
|
||||
if err := d.cfg.Router.UpdateEdge(update); err != nil {
|
||||
if routing.IsError(err, routing.ErrOutdated, routing.ErrIgnored) {
|
||||
log.Info(err)
|
||||
log.Debug(err)
|
||||
} else {
|
||||
log.Error(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue