Query uses type bytes
This commit is contained in:
@@ -18,6 +18,7 @@ Account Types:
|
||||
*/
|
||||
|
||||
type Tx interface {
|
||||
AssertIsTx()
|
||||
SignBytes(chainID string) []byte
|
||||
}
|
||||
|
||||
@@ -28,6 +29,9 @@ const (
|
||||
TxTypeApp = byte(0x02)
|
||||
)
|
||||
|
||||
func (_ *SendTx) AssertIsTx() {}
|
||||
func (_ *AppTx) AssertIsTx() {}
|
||||
|
||||
var _ = wire.RegisterInterface(
|
||||
struct{ Tx }{},
|
||||
wire.ConcreteType{&SendTx{}, TxTypeSend},
|
||||
|
||||
Reference in New Issue
Block a user