Skip to content

fix: record_activity doesn't require an existing referral link #941

Description

@sanmipaul

register(env, referee, referrer) creates the referral link, but confirm record_activity rejects activity for a referee with no prior register call — otherwise reward accounting could credit a referrer that was never actually linked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsmart-contractSoroban/Rust contract work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions