fixes from review

This commit is contained in:
Ethan Buchman
2018-06-28 19:06:37 -04:00
parent 3a96f8ffd1
commit e8946e9b36
8 changed files with 62 additions and 35 deletions
+3 -3
View File
@@ -11,13 +11,13 @@ type Msg interface {
// Must be alphanumeric or empty.
Type() string
// Get the canonical byte representation of the Msg.
GetSignBytes() []byte
// ValidateBasic does a simple validation check that
// doesn't require access to any other information.
ValidateBasic() Error
// Get the canonical byte representation of the Msg.
GetSignBytes() []byte
// Signers returns the addrs of signers that must sign.
// CONTRACT: All signatures must be present to be valid.
// CONTRACT: Returns addrs in some deterministic order.