Skip to content

mm: Fix balance handling for shared txs across matches#3138

Merged
JoeGruffins merged 1 commit into
decred:masterfrom
martonp:fixSharedTxBalance
Feb 4, 2025
Merged

mm: Fix balance handling for shared txs across matches#3138
JoeGruffins merged 1 commit into
decred:masterfrom
martonp:fixSharedTxBalance

Conversation

@martonp

@martonp martonp commented Jan 6, 2025

Copy link
Copy Markdown
Collaborator

The balance handling was incorrectly handling situations where multiple matches in the same order shared a swap or redemption transaction. For example if there were three matches which redeemed 1 DCR each using the same transaction, the balance handling would think that 9 DCR was redeemed instead of 3.

The balance handling was incorrectly handling situations where multiple
matches in the same order shared a swap or redemption transaction. For
example if there were three matches which redeemed 1 DCR each using the
same transaction, the balance handling would think that 9 DCR was redeemed
instead of 3.
@JoeGruffins
JoeGruffins merged commit 732cd01 into decred:master Feb 4, 2025
martonp added a commit to martonp/dcrdex that referenced this pull request Feb 6, 2025
The balance handling was incorrectly handling situations where multiple
matches in the same order shared a swap or redemption transaction. For
example if there were three matches which redeemed 1 DCR each using the
same transaction, the balance handling would think that 9 DCR was redeemed
instead of 3.
buck54321 pushed a commit to buck54321/dcrdex that referenced this pull request Feb 25, 2025
The balance handling was incorrectly handling situations where multiple
matches in the same order shared a swap or redemption transaction. For
example if there were three matches which redeemed 1 DCR each using the
same transaction, the balance handling would think that 9 DCR was redeemed
instead of 3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants