code: func (l *kvLedger) GetTransactionByID(txID string) (*peer.ProcessedTransaction, error) {
  	tranEnv, err := l.blockStore.RetrieveTxByID(txID)
  	if err != nil {
  		return nil, err
  	}
  	txVResult, err := l.blockStore.RetrieveTxValidationCodeByTxID(txID)
  	if err != nil {
  		return nil, err
  	}
  	processedTran := &peer.ProcessedTransaction{TransactionEnvelope: tranEnv, ValidationCode: int32(txVResult)}
  	l.blockAPIsRWLock.RLock()
  	l.blockAPIsRWLock.RUnlock()
  	return processedTran, nil
  }
docs: // GetTransactionByID retrieves a transaction by id