OSDN Git Service

Merge pull request #201 from Bytom/v0.1
[bytom/vapor.git] / vendor / github.com / tendermint / go-crypto / signatureinner_wrapper.go
index 1fdd790..917218d 100644 (file)
@@ -39,10 +39,6 @@ func (h Signature) Unwrap() SignatureInner {
        return hi
 }
 
-func (h Signature) Empty() bool {
-       return h.SignatureInner == nil
-}
-
 /*** below are bindings for each implementation ***/
 
 func init() {
@@ -52,11 +48,3 @@ func init() {
 func (hi SignatureEd25519) Wrap() Signature {
        return Signature{hi}
 }
-
-func init() {
-       SignatureMapper.RegisterImplementation(SignatureSecp256k1{}, "secp256k1", 0x2)
-}
-
-func (hi SignatureSecp256k1) Wrap() Signature {
-       return Signature{hi}
-}