Skip to content

Retrying to initiate a transfer plus receiving an invalid secret request for it seems to confuse the client #3000

@jomuel

Description

@jomuel

Calling raiden.transfer.node.state_transition with the following sequence of actions results in a failing assertion ("lock is already registered"):

  • ActionInitInitiator
  • an invalid ReceiveSecretRequest for the initiated transfer, e. g. one in which the amount is wrong
  • the same ActionInitInitiator again

This is the first issue we found by fuzz testing, so we are not certain it is an actual bug. To reproduce, run test_failing_path_2 in the wip pull request #2887.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions