Skip to content

Enhancement: DripFactory::create_stream doesn't reject sender == recipient #303

Description

@Jaydbrown

DripFactory::create_stream and create_batch_streams (contracts/factory/src/lib.rs) never check whether recipient == sender. A self-funded stream where the sender is also the recipient is presumably a degenerate/unintended case (they could just not create a stream at all), but nothing in the contract or its validation list rejects it. Worth either explicitly allowing this as documented behavior or adding a check — right now it's silently unspecified.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions