You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which implies that an inversion has happened. Currently the tests pass so it's hard to say what the intended order was. This function is called in dashcore-lib with the outputFormat parameter 1 and its result is then converted into an 8-bit buffer using Buffer.from() but that causes data loss if the input of the function is a 32-bit array so that points to a mistake in the implementation.
I did notice that these output types have been inverted in this commit history of this repo a few times.
The text was updated successfully, but these errors were encountered:
In index.js at the end of the digest function where the output format is computed we have the following code:
and in test.js we have these 2 tests:
which implies that an inversion has happened. Currently the tests pass so it's hard to say what the intended order was. This function is called in dashcore-lib with the outputFormat parameter 1 and its result is then converted into an 8-bit buffer using Buffer.from() but that causes data loss if the input of the function is a 32-bit array so that points to a mistake in the implementation.
I did notice that these output types have been inverted in this commit history of this repo a few times.
The text was updated successfully, but these errors were encountered: