-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
testnet messaging signing appears to be broken #49
Comments
I can't figure out why... @kyledrake can you take a look at it? |
Picking this apart, it looks like the error is occurring in JSBN. Here's my stacktrace:
for the given code run out of /demo:
|
Digging more, it looks like the initial error is being thrown in Note that https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/src/ecdsa.js#L123-L125 contains a message about Shamir's trick not working, yet it is used at https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/src/ecdsa.js#L269. In the end, https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/src/ecdsa.js#L131 evaluates to |
@weilu @kyledrake FYI, our new wallet, which uses bitcoinjslib is released in beta on testnet: https://www.counterparty.co/counterwallet-live-testnet/ Thank you guys for this library! |
Resolved by #101 |
* fix serialization of witness version in scriptPubKey * export blindingDataLike from psbt.ts * build * remove warnings + enrich test * use wip blech32 branch * use FUTURE_SEGWIT_CONSTANT * blech32 from npm (1.1.2)
The text was updated successfully, but these errors were encountered: