Fix Sprintf

This commit is contained in:
Ori Newman 2022-11-29 11:55:22 +02:00
parent bad1e38746
commit de653b06aa

View File

@ -288,7 +288,7 @@ func (flow *handleIBDFlow) logIBDFinished(isFinishedSuccessfully bool, err error
if err != nil {
successString = fmt.Sprintf("(interrupted: %s)", err)
} else {
successString = fmt.Sprintf("(interrupted)", err)
successString = fmt.Sprintf("(interrupted)")
}
}
log.Infof("IBD with peer %s finished %s", flow.peer, successString)