-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Invalid checksum on iOS devices #769
Comments
Check your sha implementation. Probably something related to |
What iOS version? |
I'm currently using iOS v10.2 and rn-nodeify to shim buffer. Thanks for the suggestions, dcousens. After some more digging, I'm fairly certain I know where the issue is coming from. It appears that iOS does not want to slice the buffer in |
Got it! |
@coreyphillips perhaps you'd be willing to PR a README note here for our users under "#browserify"? |
excuse me |
Updated to 5.1.0 too and it's not working either... |
@Brain-tech, I've since created a gist to help get bitcoinjs-lib working in a RN project here. Feel free to ping me if you have any trouble getting it setup. Also, hdnode has been removed from bitcoinjs-lib. You'll want to use bip32 instead. |
I'm currently receiving the following error on an iOS device for a React Native project ("Invalid checksum"). The error is triggered when attempting to use the following:
The error appears to be coming from
base58check.decode
wheredecodeRaw
doesn't pass the checksum check.One important thing to note is that this error does not occur within the iOS simulator, Android emulator or on an Android device. It appears to be isolated to iOS devices only. Does anyone have any thoughts as to why this error seems to only pop up on iOS devices?
The text was updated successfully, but these errors were encountered: