mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-28 09:15:24 +00:00
19 lines
350 B
Go
19 lines
350 B
Go
package paychan
|
|
|
|
import (
|
|
"github.com/cosmos/cosmos-sdk/wire"
|
|
)
|
|
|
|
func RegisterWire(cdc *wire.Codec) {
|
|
cdc.RegisterConcrete(MsgCreate{}, "paychan/MsgCreate", nil)
|
|
cdc.RegisterConcrete(MsgClose{}, "paychan/MsgClose", nil)
|
|
}
|
|
|
|
var msgCdc = wire.NewCodec()
|
|
|
|
func init() {
|
|
RegisterWire(msgCdc)
|
|
// TODO is this needed?
|
|
//wire.RegisterCrypto(msgCdc)
|
|
}
|