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: QueryGetSecondarySpStorePriceByTime may wrong data #263

Merged
merged 1 commit into from
May 25, 2023

Conversation

owen-reorg
Copy link
Contributor

Description

Fix the bug that QueryGetSecondarySpStorePriceByTime interface may return wrong data.

Rationale

The QueryGetSecondarySpStorePriceByTime API could previously return data from another SP when the timestamp was before the SP's creation time. This PR corrected the bug by comparing the SP address in the result key with the address in the parameter.

Example

NA

Changes

NA

@unclezoro unclezoro merged commit 3cb644a into bnb-chain:develop May 25, 2023
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.

None yet

3 participants