Commit 77339f12 authored by jiangpeng's avatar jiangpeng Committed by vipwzw

dapp/mix:adapt with chain33 crypto upgrade

parent af3c9f9e
...@@ -70,12 +70,12 @@ func (privkey *MixSignPrivateKey) Bytes() []byte { ...@@ -70,12 +70,12 @@ func (privkey *MixSignPrivateKey) Bytes() []byte {
} }
// Sign signature trasaction // Sign signature trasaction
func (privkey *MixSignPrivateKey) Sign(msg []byte, opts ...interface{}) crypto.Signature { func (privkey *MixSignPrivateKey) Sign(msg []byte) crypto.Signature {
return &MixSignature{} return &MixSignature{}
} }
// PubKey convert to public key // PubKey convert to public key
func (privkey *MixSignPrivateKey) PubKey(opts ...interface{}) crypto.PubKey { func (privkey *MixSignPrivateKey) PubKey() crypto.PubKey {
publicKey := new(MixSignPublicKey) publicKey := new(MixSignPublicKey)
return publicKey return publicKey
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment