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

added some extra checks of round number returned from endpoint #4

Merged
merged 2 commits into from
Dec 13, 2023

Conversation

CluEleSsUK
Copy link
Collaborator

No description provided.

Copy link

@AnomalRoil AnomalRoil left a comment

Choose a reason for hiding this comment

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

lgtm

src/lib.rs Outdated
@@ -86,7 +99,7 @@ impl<'a, T: Transport> DrandClient<'a, T> {
&self.chain_info.public_key,
&beacon,
)
.map_err(|_| DrandClientError::FailedVerification)?;
.map_err(|_| DrandClientError::FailedVerification)?;

Choose a reason for hiding this comment

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

is this really the linter suggestion? seems misaligned

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

aye, the formatter sends it there!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

no wait... it didn't. Weirdly the RustRover formatter sends it there, but cargo fmt does not fuuuu

@CluEleSsUK CluEleSsUK merged commit 20fc464 into master Dec 13, 2023
1 check 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.

2 participants