This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
Got this issue while testing #5
Comments
cases in hand to be added to tests:
private key obtained by: |
ok need to add test |
don't have time to include it in ark-js, but working on ark-node.
|
yes :) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
bitpay/bitcore-lib#47
Maybe wise to pad the private key when generated something like:
this.d=new BigInteger(this.d.toBuffer({size:32}));
But the issue can be that BigInteger ignore leading 0...
Maybe better to fix here:
https://github.com/ArkEcosystem/ark-js/blob/master/lib/ecpair.js#L137
this.d.toBuffer({size:32})
The text was updated successfully, but these errors were encountered: