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: [depth] fix early snapshot id checking #1828

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

c9s
Copy link
Owner

@c9s c9s commented Nov 16, 2024

No description provided.

@bbgokarma-bot
Copy link

Welcome back! @c9s, This pull request may get 254 BBG.

@@ -151,7 +147,7 @@ func (b *Buffer) fetchAndPush() error {

if len(b.buffer) > 0 {
// the snapshot is too early
if finalUpdateID < b.buffer[0].FirstUpdateID {
if finalUpdateID < b.buffer[0].FirstUpdateID-1 {
Copy link
Owner Author

Choose a reason for hiding this comment

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

☝️ main fix

@c9s c9s merged commit 89e6a4d into main Nov 16, 2024
3 checks passed
@c9s c9s deleted the c9s/xdepthmaker/fix-book-pricing branch November 16, 2024 07:08
@bbgokarma-bot
Copy link

Hi @c9s,

Well done! 269 BBG has been sent to your polygon wallet. Please check the following tx:

https://polygonscan.com/tx/0xf839789aa7705f113cfae4611c168cf8688e987901068090592ad9c049e7c64d

Thank you for your contribution!

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.

3 participants