Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined: s256k1 #184

Open
srw opened this issue Jun 8, 2022 · 3 comments
Open

undefined: s256k1 #184

srw opened this issue Jun 8, 2022 · 3 comments

Comments

@srw
Copy link

srw commented Jun 8, 2022

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())
}

@typestring
Copy link
Contributor

The README is outdated

tss.SetCurve has been marked as deprecated

you should pass the curve when calling tss.NewParameters

check #185

@yycen
Copy link
Contributor

yycen commented Jun 19, 2022

Thanks for the update!

@catiga
Copy link

catiga commented Jul 19, 2022

import (
s256k1 "github.com/btcsuite/btcd/btcec"
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants