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 needed [Chapter 08 - HASH160 output] #988

Open
raduButucelea23 opened this issue Oct 24, 2022 · 0 comments
Open

Fix needed [Chapter 08 - HASH160 output] #988

raduButucelea23 opened this issue Oct 24, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@raduButucelea23
Copy link

Describe the error
In chapter "08_routing_htlcs.asciidoc", the output of one of the RIPEMD160 hash functions seems to be incorrect.

Snippet from chapter:
R = "Dinas secret"
H256 = SHA256(R)
H256 = 0575965b3b44be51e8057d551c4016d83cb1fba9ea8d6e986447ba33fe69f6b3
H160 = RIPEMD160(H256)
H160 = 9e017f6767971ed7cea17f98528d5f5c0ccb2c71

How to fix:
Given the H256 string, the H160 value should be 9c4890d47c6e410df4c274f5616b0ea9f7879c2f instead of 9e017f6767971ed7cea17f98528d5f5c0ccb2c71

image

@raduButucelea23 raduButucelea23 added the bug Something isn't working label Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant