-
Notifications
You must be signed in to change notification settings - Fork 658
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
blockstore-cli preorder error #67
Comments
Hm, I believe there is a problem with the coinkit library when you use a private key that is incorrectly formatted. Can you check to make sure you're using a valid private key? I'll submit a patch to coinkit to make sure this error gets properly catched in the future. |
@bypassfuture any update on this? Did you figure this out? |
Hey , Yes ! i use compressed and uncompressed format both . It still shows the same :( |
@bypassfuture The code that handles the private key loading has been re-worked to support both compressed and uncompressed format. I think I was able to reproduce your problem. At your convenience, can you confirm that the problem has been removed from the 'jude' branch? |
@bypassfuture This has been fixed in the jcnelson-master branch of pybitcoin. I'm going to close this due to lack of activity, but please re-open if the latest pybitcoin does not work for you. |
OK @jcnelson want to hop over to pybitcoin and submit a PR? I'll merge it in and push a new pybitcoin version. |
added option for multiple namespaces
hey guys,
when i run ** blockstore-cli preorder XXX privkey ** , terminal shows :
{
"error": "UnboundLocalError: local variable 'secret_exponent' referenced before assignment",
"traceback": [
"Traceback (most recent call last):",
" File "/usr/local/lib/python2.7/dist-packages/blockstore/blockstored.py", line 253, in jsonrpc_preorder",
" blockchain_client=blockchain_client, testset=True)",
" File "/usr/local/lib/python2.7/dist-packages/blockstore/lib/operations/preorder.py", line 28, in broadcast",
" hash160 = BitcoinPrivateKey(private_key).public_key().hash160()",
" File "/usr/local/lib/python2.7/dist-packages/coinkit/privatekey.py", line 61, in init",
" if not is_secret_exponent(secret_exponent, self._curve.order):",
"UnboundLocalError: local variable 'secret_exponent' referenced before assignment"
]
}
what's wrong ?
thanks ;)
The text was updated successfully, but these errors were encountered: