-
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If zapping too fast, item.meSats inside optimistic update could include pending sats from previous zap unlike item.meSats in calling context. This is fixed by passing satsDelta instead of calculating it independently with readFragment. This race condition lead to following unexpected behavior that is now fixed: * pending sats could go negative causing items to falsely be marked as flagged unrelated fix: * fix zapUndoTrigger using total sats not satsDelta
- Loading branch information
Showing
1 changed file
with
10 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters