routing: only log pre-mature announcements if we have any
This commit is contained in:
parent
7f98e8e5f1
commit
a094681dae
@ -384,8 +384,10 @@ func (r *ChannelRouter) networkHandler() {
|
||||
// for this height, if so, then we process them once
|
||||
// more as normal announcements.
|
||||
prematureAnns := r.prematureAnnouncements[uint32(newBlock.Height)]
|
||||
if len(prematureAnns) != 0 {
|
||||
log.Infof("Re-processing %v premature announcements for "+
|
||||
"height %v", len(prematureAnns), blockHeight)
|
||||
}
|
||||
|
||||
for _, ann := range prematureAnns {
|
||||
if ok := r.processNetworkAnnouncement(ann); ok {
|
||||
|
Loading…
Reference in New Issue
Block a user