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
|
|
|
}
|