Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mm: consistent uiconfig mintransfer #2877

Merged
merged 2 commits into from
Jul 24, 2024
Merged

Conversation

buck54321
Copy link
Member

No description provided.

@buck54321 buck54321 changed the title mm: use absolute value for uiconfig mintransfer mm: consistent uiconfig mintransfer Jul 23, 2024
Copy link
Contributor

@martonp martonp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well if the CEX is connected.

minQuoteTransfer: Math.round(quoteConfig.transferFactor * maxQuote)
}
const cex = app().mmStatus.cexes[cexName]
const mkt = cex.markets[mktID]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the exchange was unable to connect, if you load the mmsettings page, there will be an error because mkt will be undefined.

@buck54321 buck54321 merged commit 98cb74c into decred:master Jul 24, 2024
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.

2 participants