code: func (l *txList) Remove(tx *types.Transaction) (bool, types.Transactions) {
  	// Remove the transaction from the set
  	nonce := tx.Nonce()
  	if removed := l.txs.Remove(nonce); !removed {
  		return false, nil
  	}
  	// In strict mode, filter out non-executable transactions
  	if l.strict {
  		return true, l.txs.Filter(func(tx *types.Transaction) bool { return tx.Nonce() > nonce })
  	}
  	return true, nil
  }
docs: // Remove deletes a transaction from the maintained list, returning whether the
  // transaction was found, and also returning any transaction invalidated due to
  // the deletion (strict mode only).