OSDN Git Service

Wallet store test (#312)
[bytom/vapor.git] / vendor / github.com / tendermint / go-crypto / pubkeyinner_wrapper.go
index 7b36c32..c9c8156 100644 (file)
@@ -39,10 +39,6 @@ func (h PubKey) Unwrap() PubKeyInner {
        return hi
 }
 
-func (h PubKey) Empty() bool {
-       return h.PubKeyInner == nil
-}
-
 /*** below are bindings for each implementation ***/
 
 func init() {
@@ -52,11 +48,3 @@ func init() {
 func (hi PubKeyEd25519) Wrap() PubKey {
        return PubKey{hi}
 }
-
-func init() {
-       PubKeyMapper.RegisterImplementation(PubKeySecp256k1{}, "secp256k1", 0x2)
-}
-
-func (hi PubKeySecp256k1) Wrap() PubKey {
-       return PubKey{hi}
-}