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

Replace rustc_hex crate with hex #37

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Replace rustc_hex crate with hex #37

wants to merge 1 commit into from

Conversation

axic
Copy link
Member

@axic axic commented Jan 22, 2020

No description provided.

@@ -518,7 +518,8 @@ impl Default for BLSSignature {

impl fmt::Debug for BLSSignature {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "{}", self.0.to_hex())
unimplemented!()
// write!(f, "{}", hex::encode(self.0))
Copy link
Member Author

Choose a reason for hiding this comment

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

Too bad the hex crate doesn't support [u8;48] and [u8;96].

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.

1 participant