Merge PR #2324: rename wire to codec

* rename wire to codec

* fix formatting and cli

* fix the docs
This commit is contained in:
Dev Ojha
2018-09-13 14:17:32 -04:00
committed by Rigel
parent 5bf9401e87
commit 6b55093c75
155 changed files with 614 additions and 615 deletions
+9
View File
@@ -0,0 +1,9 @@
package types
import "github.com/cosmos/cosmos-sdk/codec"
// Register the sdk message type
func RegisterCodec(cdc *codec.Codec) {
cdc.RegisterInterface((*Msg)(nil), nil)
cdc.RegisterInterface((*Tx)(nil), nil)
}