From cc4f2541c582c7ceab094af32657493711515311 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Tue, 26 Jun 2018 17:42:00 -0400 Subject: [PATCH] fix comment --- docs/core/app1.md | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/docs/core/app1.md b/docs/core/app1.md index f966a11e1..0c6936916 100644 --- a/docs/core/app1.md +++ b/docs/core/app1.md @@ -14,24 +14,23 @@ Developers can create messages by implementing the `Msg` interface: ```go type Msg interface { - - // Return the message type. - // Must be alphanumeric or empty. + // Return the message type. + // Must be alphanumeric or empty. // Must correspond to name of message handler (XXX). - Type() string - + Type() string + // Get the canonical byte representation of the Msg. // This is what is signed. - GetSignBytes() []byte - - // ValidateBasic does a simple validation check that - // doesn't require access to any other information. - ValidateBasic() error - - // 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. - GetSigners() []Address + GetSignBytes() []byte + + // ValidateBasic does a simple validation check that + // doesn't require access to any other information. + ValidateBasic() error + + // 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. + GetSigners() []Address } ```