damus icon indicating copy to clipboard operation
damus copied to clipboard

Bug: After changing LN address in my profile, I can't see any previous zaps sent to prior addresses.

Open dmnyc opened this issue 1 year ago • 3 comments

I switched my wallet address from [email protected] to [email protected].

Afterward, my Zap tab displayed no zaps sent to my previous address and only started recording zaps sent to my current one.

In addition, notes where I have received zaps do not show anything prior to the address change.

See the comparison of this note ID shown in Nostur, displaying 7 zaps for a total of over 2000 sats vs. Damus which only displays 1 zap of 3 sats.

note18a0y77xhk7lw0cge0qlyjcyg59n0gjmvhxt3az8w97uhwztgh9fsyqsru9

image image

dmnyc avatar Sep 06 '24 22:09 dmnyc

yes changing lnurl will invalidate older zaps, it's by design

jb55 avatar Sep 07 '24 04:09 jb55

I don't understand why Damus wouldn't display the total zap count on a note. If a note previously received zaps but someone changed their address at a later time wouldn't it still make sense to show the full amount that is visible on other clients?

https://nostr.band/note18a0y77xhk7lw0cge0qlyjcyg59n0gjmvhxt3az8w97uhwztgh9fsyqsru9

dmnyc avatar Sep 07 '24 04:09 dmnyc

What we can do is mark a zap as valid, at the time of validation, and always maintain that state into the future. We just need to add this note metadata to nostrdb. This is most likey what all these other apps are doing. Damus has a DB but we don't fully integrate into it yet:

  • #2121

jb55 avatar Sep 07 '24 16:09 jb55