code: func (l *kvLedger) recoverDBs() error {
  	logger.Debugf("Entering recoverDB()")
  	if err := l.syncStateAndHistoryDBWithBlockstore(); err != nil {
  		return err
  	}
  	if err := l.syncStateDBWithPvtdatastore(); err != nil {
  		return err
  	}
  	return nil
  }
docs: //Recover the state database and history database (if exist)
  //by recommitting last valid blocks