Open lnbc1QWFyb24 opened 1 month ago
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.