code: func (lc *LedgerCommitter) CommitWithPvtData(blockAndPvtData *ledger.BlockAndPvtData) error {
  	// Do validation and whatever needed before
  	// committing new block
  	if err := lc.preCommit(blockAndPvtData.Block); err != nil {
  		return err
  	}
  
  	// Committing new block
  	if err := lc.PeerLedgerSupport.CommitWithPvtData(blockAndPvtData); err != nil {
  		return err
  	}
  
  	return nil
  }
docs: // CommitWithPvtData commits blocks atomically with private data