Skip to content

server: Fix market buy funding validation.#3546

Merged
JoeGruffins merged 1 commit intodecred:masterfrom
JoeGruffins:marketbuybug
Mar 5, 2026
Merged

server: Fix market buy funding validation.#3546
JoeGruffins merged 1 commit intodecred:masterfrom
JoeGruffins:marketbuybug

Conversation

@JoeGruffins
Copy link
Copy Markdown
Member

For market buy orders, swapVal was set to the market buy buffer minimum rather than the actual order quantity. This caused ValidateOrderFunding to combine a small swapVal with the full lot count, producing an inflated fee estimate that exceeded the provided coin value.

For market buy orders, swapVal was set to the market buy buffer minimum
rather than the actual order quantity. This caused ValidateOrderFunding
to combine a small swapVal with the full lot count, producing an
inflated fee estimate that exceeded the provided coin value.
@JoeGruffins JoeGruffins merged commit 9c9b3c3 into decred:master Mar 5, 2026
5 checks passed
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.

1 participant