18 lines
337 B
Go
18 lines
337 B
Go
package bank
|
|
|
|
import (
|
|
"github.com/cosmos/cosmos-sdk/codec"
|
|
)
|
|
|
|
// Register concrete types on codec codec
|
|
func RegisterCodec(cdc *codec.Codec) {
|
|
cdc.RegisterConcrete(MsgSend{}, "cosmos-sdk/Send", nil)
|
|
cdc.RegisterConcrete(MsgMultiSend{}, "cosmos-sdk/MultiSend", nil)
|
|
}
|
|
|
|
var msgCdc = codec.New()
|
|
|
|
func init() {
|
|
RegisterCodec(msgCdc)
|
|
}
|