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

FEATURE: [xalign] detect active depoit. if found, skip align #1786

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

kbearXD
Copy link
Collaborator

@kbearXD kbearXD commented Oct 21, 2024

No description provided.

@bbgokarma-bot
Copy link

Welcome back! @kbearXD, This pull request may get 249 BBG.

) (*types.Deposit, error) {
var err2 error
until := time.Now()
since := until.Add(-time.Hour * 24)
Copy link
Owner

Choose a reason for hiding this comment

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

using 1 hour should be enough?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I use the same interval as detectActiveWithdraw. I think both it's ok because there will not be too many withdraws and deposits ?

@kbearXD kbearXD merged commit 859be58 into main Oct 21, 2024
3 checks passed
@kbearXD kbearXD deleted the chiahung/xalign/detect-pending-deposit branch October 21, 2024 08:42
@bbgokarma-bot
Copy link

Hi @kbearXD,

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

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

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