Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanLucPons committed Jun 22, 2020
1 parent eb10438 commit e887403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ int main(int argc, char* argv[]) {
string priv = string(argv[a]);
Int k;
bool isComp = true;
if(priv[0]=='K') {
if(priv[0]=='5' || priv[0] == 'K' || priv[0] == 'L') {
k = secp->DecodePrivateKey((char *)priv.c_str(),&isComp);
} else {
k.SetBase16(argv[a]);
Expand Down

0 comments on commit e887403

Please sign in to comment.