FactomProject / WorkItems

factoid
3 stars 1 forks source link

factom-cli gives incorrect message when reimporting an EC private key #960

Closed carryforward closed 8 years ago

carryforward commented 8 years ago
brian@hawkins:~/go$ factom-cli newaddress ec zeros2 Es2Rf7iM6PdsqfYCo3D1tnAR65SkLENyWJG1deUzpRMQmbh9F3eG
ec  =  EC2DKSYyRcNWf7RS963VFYgMExoHRYLHVeCfQ9PGPmNzwrcmgm2r
brian@hawkins:~/go$ factom-cli newaddress ec zeros2 Es2Rf7iM6PdsqfYCo3D1tnAR65SkLENyWJG1deUzpRMQmbh9F3eG
Invalid private key length

The error message should not complain about the length of the key when it should be complaining about duplicates.

drobertbaker commented 8 years ago

transferred to Pivotal Tracker 1/21/2016