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

Fix number of totalAuctions in getloaninfo RPC #1124

Merged
merged 6 commits into from
Mar 18, 2022
Merged

Conversation

Jouzo
Copy link
Collaborator

@Jouzo Jouzo commented Mar 1, 2022

What kind of PR is this?:

/kind fix

What this PR does / why we need it:

Calculate totalAuctions by adding each liquidated vault's batch count instead of counting the number of liquidated vaults.
This will now match the number of open auctions displayed at https://defiscan.live/auctions

src/masternodes/rpc_loan.cpp Outdated Show resolved Hide resolved
@prasannavl prasannavl added this to the 2.6.2 milestone Mar 7, 2022
@bvbfan bvbfan self-requested a review March 7, 2022 10:16
@prasannavl prasannavl merged commit 2419f51 into master Mar 18, 2022
@prasannavl prasannavl deleted the fix/getloaninfodata branch March 18, 2022 04:10
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.

5 participants