mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 18:15:19 +00:00
21 lines
370 B
Go
21 lines
370 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)
|
|
}
|
|
|
|
var msgCdc = wire.NewCodec()
|
|
|
|
/*
|
|
func init() {
|
|
RegisterWire(msgCdc)
|
|
// TODO is this needed?
|
|
//wire.RegisterCrypto(msgCdc)
|
|
}
|
|
*/
|