cosmos-sdk/x/bank/wire.go

14 lines
397 B
Go

package bank
import (
crypto "github.com/tendermint/go-crypto"
"github.com/tendermint/go-wire"
)
func RegisterWire(cdc *wire.Codec) {
// TODO include option to always include prefix bytes.
cdc.RegisterConcrete(SendMsg{}, "cosmos-sdk/SendMsg", nil)
cdc.RegisterConcrete(IssueMsg{}, "cosmos-sdk/IssueMsg", nil)
crypto.RegisterWire(cdc) // Register crypto.[PubKey,PrivKey,Signature] types.
}