Move common log message to trace (#1348)

This commit is contained in:
Svarog 2021-01-05 12:51:48 +02:00 committed by GitHub
parent e509cb1597
commit 119e7374e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,7 @@ func (csm *consensusStateManager) mergeSetIncrease(
for queue.Len() > 0 { for queue.Len() > 0 {
current := queue.Pop() current := queue.Pop()
log.Debugf("Attempting to increment the merge set size increase for block %s", current) log.Tracef("Attempting to increment the merge set size increase for block %s", current)
isInPastOfSelectedVirtualParents, err := csm.dagTopologyManager.IsAncestorOfAny( isInPastOfSelectedVirtualParents, err := csm.dagTopologyManager.IsAncestorOfAny(
current, selectedVirtualParents.ToSlice()) current, selectedVirtualParents.ToSlice())
@ -174,7 +174,7 @@ func (csm *consensusStateManager) mergeSetIncrease(
return 0, err return 0, err
} }
if isInPastOfSelectedVirtualParents { if isInPastOfSelectedVirtualParents {
log.Debugf("Skipping block %s because it's in the past of one "+ log.Tracef("Skipping block %s because it's in the past of one "+
"(or more) of the selected virtual parents", current) "(or more) of the selected virtual parents", current)
continue continue
} }