You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was playing around with the Shopstr NIP-60 wallet and noticed that when ecash is sent from the wallet, two kind 7376 events are published to the relay. One event has direction out which is correct, but there is another in event published with the same amount which cancels out the first event meaning that the correct balance of the wallet cannot be derived.
The text was updated successfully, but these errors were encountered:
Thanks for the find. Does this happen when sending ecash and paying out to a Lightning address? And with any amount or when sending half the wallet balance?
Ahh, this is coming from when change is left over on a spend. The change amount is published as coming in, but since the proofs that are coming in are technically already set in the wallet state there probably isn't a need to re-publish them unless entirely new proofs were created.
I was playing around with the Shopstr NIP-60 wallet and noticed that when ecash is sent from the wallet, two kind
7376
events are published to the relay. One event has directionout
which is correct, but there is anotherin
event published with the same amount which cancels out the first event meaning that the correct balance of the wallet cannot be derived.The text was updated successfully, but these errors were encountered: