18 lines
328 B
Go
18 lines
328 B
Go
package bank
|
|
|
|
import (
|
|
"github.com/cosmos/cosmos-sdk/wire"
|
|
)
|
|
|
|
// Register concrete types on wire codec
|
|
func RegisterWire(cdc *wire.Codec) {
|
|
cdc.RegisterConcrete(MsgSend{}, "cosmos-sdk/Send", nil)
|
|
cdc.RegisterConcrete(MsgIssue{}, "cosmos-sdk/Issue", nil)
|
|
}
|
|
|
|
var msgCdc = wire.NewCodec()
|
|
|
|
func init() {
|
|
RegisterWire(msgCdc)
|
|
}
|