Merge pull request #601 from Roasbeef/recovery-bug-fix-node
wallet: only log block batch if non-empty
This commit is contained in:
commit
8c64a08971
1 changed files with 4 additions and 2 deletions
|
@ -732,8 +732,10 @@ func (w *Wallet) recovery(startHeight int32) error {
|
|||
return err
|
||||
}
|
||||
|
||||
if len(blockBatch) > 0 {
|
||||
log.Infof("Recovered addresses from blocks %d-%d", blockBatch[0].Height,
|
||||
blockBatch[len(blockBatch)-1].Height)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue