mirror of
https://github.com/kaspanet/kaspad.git
synced 2026-03-04 00:08:22 +00:00
This modifies the conversion of the output index from the JSON-based test data for valid and invalid transactions as well as the signature hash type for signature hash tests to first convert to a signed int and then to an unsigned int. This is necessary because the result of a direct conversion of a float to an unsigned int is implementation dependent and doesn't result in the expected value on all platforms. Also, while here, change the function names in the error prints to match the actual names. Fixes #600.
17 KiB
17 KiB