mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 18:15:19 +00:00
19 lines
384 B
Go
19 lines
384 B
Go
package paychan
|
|
|
|
import (
|
|
"github.com/cosmos/cosmos-sdk/wire"
|
|
)
|
|
|
|
func RegisterWire(cdc *wire.Codec) {
|
|
cdc.RegisterConcrete(MsgCreate{}, "paychan/MsgCreate", nil)
|
|
cdc.RegisterConcrete(MsgSubmitUpdate{}, "paychan/MsgSubmitUpdate", nil)
|
|
}
|
|
|
|
// TODO move this to near the msg definitions?
|
|
var msgCdc = wire.NewCodec()
|
|
|
|
func init() {
|
|
wire.RegisterCrypto(msgCdc)
|
|
RegisterWire(msgCdc)
|
|
}
|