Skip to content

fix: register allows self-referral #945

Description

@sanmipaul

register(env, referee, referrer) doesn't appear to check referee != referrer. An address could refer itself and farm record_activity rewards without bringing in any real new user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsecuritySecurity improvementssmart-contractSoroban/Rust contract work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions