Skip to content

transaction_ids data type issue #13

@rayruizhiliao

Description

@rayruizhiliao

transaction_ids = {}

transaction_ids is initialized as a dict {} but should be a list [] because scan_transaction_responses() returns a list and .extend() is called on it.

File "web-hacker/src/routine_discovery/agent.py", line 429, in resolve_variables
    transaction_ids.extend(self.context_manager.scan_transaction_responses(
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'extend'

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghigh priorityThis is of high priority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions