0g-chain/internal/x/paychan/wire.go

21 lines
370 B
Go
Raw Normal View History

2018-07-13 13:27:55 +00:00
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)
2018-07-13 13:27:55 +00:00
}
var msgCdc = wire.NewCodec()
/*
2018-07-13 13:27:55 +00:00
func init() {
RegisterWire(msgCdc)
// TODO is this needed?
//wire.RegisterCrypto(msgCdc)
}
2018-08-24 23:18:41 +00:00
*/