Skip to content

Sats forwarded to anon don't go to rewards #1232

@ekzyis

Description

@ekzyis

Description

If sats are forwarded to @anon, the sats don't go to rewards like anon zaps but increase the balance of anon.

Steps to Reproduce

  1. Create item and forward 100% sats to anon
  2. Zap item with 100 sats item (can be anon)
  3. Check /rewards
  4. Rewards increased by 5 sats via fees and rewards via anon's stack didn't change at all1
  5. Running SELECT id, msats, "stackedMsats" FROM users WHERE id = 27 reveals that 90 sats went to anon's balance

Expected behavior

Rewards increased by 5 sats via fees and by 90 sats via anon's stack

Additional context

Reported by @0xbitcoiner here.

Footnotes

  1. 5 sats go to territory founder as revenue since all subs in seed.sql have "rewardsPct" set to 50

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions