utxonursery: log process of catch up graduation on restart

This commit is contained in:
Olaoluwa Osuntokun 2017-04-13 14:50:23 -07:00
parent b51a0eb094
commit e43d1dd7ca
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2
1 changed files with 3 additions and 0 deletions

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
}