Skip to content

Conversation

chappjc
Copy link
Member

@chappjc chappjc commented Jul 12, 2022

Resolves #1697

When a revoked order (not match) has an active swap complete without the user being at fault, it should not grant order completed status for accounting purposes. This makes the changes so that revoked orders are handled similar to canceled orders by removing the order ID from the settling map, which is the established pattern when there is no longer a need track to settling quantity for SwapDone's accounting. (See other calls to book.Remove{UserOrders} and m.unbookedOrder.)

@chappjc chappjc added this to the 0.5 milestone Jul 14, 2022
@chappjc chappjc merged commit e00c3bb into decred:master Jul 15, 2022
@chappjc chappjc deleted the no-complete-revoked-orders branch July 15, 2022 18:04
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.

server: SetOrderCompleteTime unable to set completed time error.
3 participants