Skip to content

[XRP] Don't initialize the channel balance with 0 #20

@dappelt

Description

@dappelt

Instead of initializing the channel balance with 0, use paychan.balance. If an attacker gets the connector to somehow forget the cached channel details, the attacker could reuse an old channel with balance > 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions