code: func (pool *TxPool) GetTransaction(hash common.Hash) *types.Transaction {
  	// check the txs first
  	if tx, ok := pool.pending[hash]; ok {
  		return tx
  	}
  	return nil
  }
docs: // GetTransaction returns a transaction if it is contained in the pool
  // and nil otherwise.