albertobsd / keyhunt

privkey hunt for crypto currencies that use secp256k1 elliptic curve
MIT License
640 stars 349 forks source link

Throw an exception instead of exit when Secp256k1::getByte() is not a hex #258

Open shude opened 1 year ago

shude commented 1 year ago

This PR fix the #256 In bsgsd daemon terminates when getByte calls exit(-1). it replaced by throw an invalid_argument exception and then try ... catch in client_handler.