OSDN Git Service

Merge pull request #201 from Bytom/v0.1
[bytom/vapor.git] / vendor / github.com / tendermint / go-crypto / privkeyinner_wrapper.go
index 05ce696..78b1754 100644 (file)
@@ -39,10 +39,6 @@ func (h PrivKey) Unwrap() PrivKeyInner {
        return hi
 }
 
-func (h PrivKey) Empty() bool {
-       return h.PrivKeyInner == nil
-}
-
 /*** below are bindings for each implementation ***/
 
 func init() {
@@ -52,11 +48,3 @@ func init() {
 func (hi PrivKeyEd25519) Wrap() PrivKey {
        return PrivKey{hi}
 }
-
-func init() {
-       PrivKeyMapper.RegisterImplementation(PrivKeySecp256k1{}, "secp256k1", 0x2)
-}
-
-func (hi PrivKeySecp256k1) Wrap() PrivKey {
-       return PrivKey{hi}
-}