cosmos-sdk/wire/wire.go

17 lines
191 B
Go
Raw Normal View History

2018-03-02 01:24:07 -08:00
package wire
import (
"bytes"
"reflect"
2018-04-06 16:20:14 -07:00
"github.com/tendermint/go-amino"
2018-03-02 01:24:07 -08:00
)
2018-04-06 16:20:14 -07:00
type Codec = amino.Codec
2018-03-02 01:24:07 -08:00
func NewCodec() *Codec {
2018-04-06 16:20:14 -07:00
cdc := amino.NewCodec()
RegisterAmino(cdc)
return cdc
2018-03-02 01:24:07 -08:00
}