laconicd-deprecated/crypto/keys.go

13 lines
355 B
Go
Raw Normal View History

package crypto
import (
"github.com/cosmos/cosmos-sdk/crypto/keyring"
tmcrypto "github.com/tendermint/tendermint/crypto"
)
// EthermintKeygenFunc is the key generation function to generate secp256k1 ToECDSA
// from ethereum.
func EthermintKeygenFunc(bz []byte, algo keyring.SigningAlgo) (tmcrypto.PrivKey, error) {
return PrivKeySecp256k1(bz), nil
}