WIP commit

This commit is contained in:
Jae Kwon
2018-04-06 17:25:08 -07:00
parent a44e871dc7
commit 49fdf80d9d
25 changed files with 126 additions and 149 deletions
+5 -4
View File
@@ -1,16 +1,17 @@
package wire
import (
"bytes"
"reflect"
"github.com/tendermint/go-amino"
"github.com/tendermint/go-crypto"
)
type Codec = amino.Codec
func NewCodec() *Codec {
cdc := amino.NewCodec()
RegisterAmino(cdc)
return cdc
}
func RegisterCrypto(cdc *Codec) {
crypto.RegisterAmino(cdc)
}