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

proto: some dry-by fixes that improve the onchain log #224

Merged
merged 1 commit into from
May 18, 2024

Conversation

vincenzopalazzo
Copy link
Owner

See commits

@vincenzopalazzo vincenzopalazzo merged commit 1aea7da into main May 18, 2024
3 of 5 checks passed
@vincenzopalazzo vincenzopalazzo deleted the macros/rebrodcasting-bug branch May 18, 2024 17:44
Comment on lines -429 to +432
log::error!(target: "lampo_bitcoind", "Impossible get the inforamtion of the last besh block: {}", best_block.err().unwrap());
break;
log::error!(target: "bitcoind", "Impossible get the inforamtion of the last besh block: {}", best_block.err().unwrap());
continue;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ideally we should break out of the loop when we don't get the best block to remove further errors. It is also breaking tests.

Copy link
Owner Author

Choose a reason for hiding this comment

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

nop because if the bitcoin core it is not ready this function will return an error but we should just be able to retry, no?

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