12 lines
292 B
Go
12 lines
292 B
Go
package ibc
|
|
|
|
import (
|
|
"github.com/cosmos/cosmos-sdk/codec"
|
|
)
|
|
|
|
// Register concrete types on codec codec
|
|
func RegisterCodec(cdc *codec.Codec) {
|
|
cdc.RegisterConcrete(IBCTransferMsg{}, "cosmos-sdk/IBCTransferMsg", nil)
|
|
cdc.RegisterConcrete(IBCReceiveMsg{}, "cosmos-sdk/IBCReceiveMsg", nil)
|
|
}
|