Change codegen name holder->wrapper

This commit is contained in:
Ethan Frey
2017-05-16 16:59:40 +02:00
parent bee63ce4ff
commit db5cb8d92c
7 changed files with 7 additions and 7 deletions

View File

@ -20,7 +20,7 @@ func PrivKeyFromBytes(privKeyBytes []byte) (privKey PrivKey, err error) {
// DO NOT USE THIS INTERFACE.
// You probably want to use PubKey
// +gen holder:"PrivKey,Impl[PrivKeyEd25519,PrivKeySecp256k1],ed25519,secp256k1"
// +gen wrapper:"PrivKey,Impl[PrivKeyEd25519,PrivKeySecp256k1],ed25519,secp256k1"
type PrivKeyInner interface {
AssertIsPrivKeyInner()
Bytes() []byte