code: func (pool *TxPool) RemoveTx(hash common.Hash) {
  	pool.mu.Lock()
  	defer pool.mu.Unlock()
  	// delete from pending pool
  	delete(pool.pending, hash)
  	pool.chainDb.Delete(hash[:])
  	pool.relay.Discard([]common.Hash{hash})
  }
docs: // RemoveTx removes the transaction with the given hash from the pool.