utxonursery: log process of catch up graduation on restart

This commit is contained in:
Olaoluwa Osuntokun committed 2017-04-13 14:50:29 -07:00
1 parent b51a0eb094
commit e43d1dd7ca
1 file changed
+3
+3
View File
@@ -226,6 +226,9 @@ func (u *utxoNursery) catchUpKindergarten() error {
// Loop through and check for graduating outputs at each of the missed
// block heights.
for graduationHeight := lastGraduatedHeight + 1; graduationHeight <= uint32(bestHeight); graduationHeight++ {
utxnLog.Debugf("Attempting to graduate outputs at height=%v",
graduationHeight)
if err := u.graduateKindergarten(graduationHeight); err != nil {
return err
}