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

Is DIFF_EQUAL_SIG_HASH_CRC_STR mis-defined? #2

Open
GoogleCodeExporter opened this issue Jan 27, 2016 · 0 comments
Open

Is DIFF_EQUAL_SIG_HASH_CRC_STR mis-defined? #2

GoogleCodeExporter opened this issue Jan 27, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

In diff.hpp
#define DIFF_EQUAL_SIG_HASH_CRC         1
#define DIFF_EQUAL_SIG_HASH_CRC_STR     2

I think they should switch the value with each other. Then,


In diff.cpp sig_equal()
if (type <= DIFF_EQUAL_SIG_HASH_CRC)

This will cover DIFF_EQUAL_SIG_HASH_CRC_STR. That'll be right.

Original issue reported on code.google.com by shenlian...@gmail.com on 19 Apr 2013 at 4:24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant