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

Add Hash160 #22

Open
mrx23dot opened this issue Jul 16, 2022 · 2 comments
Open

Add Hash160 #22

mrx23dot opened this issue Jul 16, 2022 · 2 comments

Comments

@mrx23dot
Copy link

hash160 (20byte) format is very important and missing from output.

@mrx23dot
Copy link
Author

It's already in the code, just needs printing:

 def _generate_publicaddress1(self, prefix_a, prefix_b):
        p = self._generate_uncompressed_pubkey(prefix_b)
        m = prefix_a + hash160(p).digest()

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

No branches or pull requests

2 participants
@mrx23dot and others