mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-08 21:10:10 +00:00
16 lines
288 B
Go
16 lines
288 B
Go
package secp256k1
|
|
|
|
import (
|
|
tmjson "github.com/tendermint/tendermint/libs/json"
|
|
)
|
|
|
|
const (
|
|
PrivKeyName = "tendermint/PrivKeySecp256k1"
|
|
PubKeyName = "tendermint/PubKeySecp256k1"
|
|
)
|
|
|
|
func init() {
|
|
tmjson.RegisterType(PubKey{}, PubKeyName)
|
|
tmjson.RegisterType(PrivKey{}, PrivKeyName)
|
|
}
|