NewTss update private key type to crypto.PrivKey
Use appropriate type crypto.PrivKey
as the privateKey type, thus we can avoid unnecessary marshal , and parsing , when we import the go-tss as a library to thorchain
In thorchain , we can easily get the private key back as crypto.PrivKey
type, with this change , we could just pass the priKey as crypto.PrivKey
to NewTSS
, don't need to hex encoded it , and then later on convert it back
Edited by Heimdall