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

Incorrect inputs' transaction hashes handling #5

Open
lnovy opened this issue Mar 23, 2018 · 2 comments
Open

Incorrect inputs' transaction hashes handling #5

lnovy opened this issue Mar 23, 2018 · 2 comments

Comments

@lnovy
Copy link

lnovy commented Mar 23, 2018

TXIDs of input transactions are loaded from API in an incorrect byte order.

@ghost
Copy link

ghost commented Mar 24, 2018

utxo txid's are in reverse order in case of https://coinb.in/api/, whereas https://explorer.bitcoingold.org they are not. so ,
@line 959 of coinbin.js

var txid = ((tx).match(/.{1,2}/g).reverse()).join("")+'';
should be replaced by
var txid = tx;

lnovy pushed a commit to lnovy/coinbin that referenced this issue Mar 24, 2018
@lnovy
Copy link
Author

lnovy commented Mar 24, 2018

#6 Please test.

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

1 participant