code: func (s *Store) initPvtdataStoreFromExistingBlockchain() (bool, error) {
  	var bcInfo *common.BlockchainInfo
  	var pvtdataStoreEmpty bool
  	var err error
  
  	if bcInfo, err = s.BlockStore.GetBlockchainInfo(); err != nil {
  		return false, err
  	}
  	if pvtdataStoreEmpty, err = s.pvtdataStore.IsEmpty(); err != nil {
  		return false, err
  	}
  	if pvtdataStoreEmpty && bcInfo.Height > 0 {
  		if err = s.pvtdataStore.InitLastCommittedBlock(bcInfo.Height - 1); err != nil {
  			return false, err
  		}
  		return true, nil
  	}
  	return false, nil
  }
docs: // initPvtdataStoreFromExistingBlockchain updates the initial state of the pvtdata store
  // if an existing block store has a blockchain and the pvtdata store is empty.
  // This situation is expected to happen when a peer is upgrated from version 1.0
  // and an existing blockchain is present that was generated with version 1.0.
  // Under this scenario, the pvtdata store is brought upto the point as if it has
  // processed existing blocks with no pvt data. This function returns true if the
  // above mentioned condition is found to be true and pvtdata store is successfully updated