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
When digging in to this a little, I was able to get the validation to pass by changing the isUint8Array function. If that becomes a no_op then the rest of the validations pass. If I change it to:
function isUint8Array(value) {
return value instanceof Buffer
}
it passes.
It's possible there's some weird polyfill going on in my environment which is why it's passing for some and not others. That said, when looking at the validation in bitcoinjs-lib (which maybe this should be filed there?) it does convert a point hex to a Buffer but then the validation library here checks to see if it's an instance of Uint8Array.
The text was updated successfully, but these errors were encountered:
I'm trying to use this to init bitcoinjs-lib. When running in a test (see #62) I get an error :
ecc library invalid
.Versions:
When digging in to this a little, I was able to get the validation to pass by changing the
isUint8Array
function. If that becomes a no_op then the rest of the validations pass. If I change it to:it passes.
It's possible there's some weird polyfill going on in my environment which is why it's passing for some and not others. That said, when looking at the validation in bitcoinjs-lib (which maybe this should be filed there?) it does convert a point hex to a
Buffer
but then the validation library here checks to see if it's an instance ofUint8Array
.The text was updated successfully, but these errors were encountered: