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: wait BT to update its database #1944

Merged
merged 1 commit into from
Jun 4, 2024
Merged

fix: wait BT to update its database #1944

merged 1 commit into from
Jun 4, 2024

Conversation

limpbrains
Copy link
Collaborator

Description

Sometimes, Bitkit doesn't display confetti upon receiving CJIT. This issue occurs when Bitkit queries Blocktank and receives an outdated CJIT order value without the "funding_tx" field. To address this, we will now query BT five times with a one-second interval. If this process fails, we will attempt to fund a channel based on its size.

Linked Issues/Tasks

Type of change

Bug fix

Tests

No test

Screenshot / Video

QA Notes

This fix is only for openning CJIT channel

@limpbrains limpbrains requested a review from coreyphillips June 4, 2024 15:40
@limpbrains limpbrains merged commit 1bd0437 into master Jun 4, 2024
6 checks passed
@limpbrains limpbrains deleted the cjit-receive branch June 4, 2024 16:34
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