Closed longfin closed 5 years ago
Currently, there is no validation of privateKey parameter on Libplanet.Crypto.PrivateKey's constructor. so illegal bytes can be passed to new PrivateKey() and occurs error when being used. it would be good if we catch this error in the constructor.
privateKey
Libplanet.Crypto.PrivateKey
new PrivateKey()
i'll try this issue.
Currently, there is no validation of
privateKey
parameter onLibplanet.Crypto.PrivateKey
's constructor. so illegal bytes can be passed tonew PrivateKey()
and occurs error when being used. it would be good if we catch this error in the constructor.