tss-lib
tss-lib copied to clipboard
undefined: s256k1
I follow the Readme instructions and a simple code like the one below failed with "undefined: s256k1"
package main
import "fmt" import "github.com/binance-chain/tss-lib/tss"
func main() { tss.SetCurve(s256k1.S256()) }
The README is outdated
tss.SetCurve
has been marked as deprecated
you should pass the curve when calling tss.NewParameters
check #185
Thanks for the update!
import ( s256k1 "github.com/btcsuite/btcd/btcec" )