diff --git a/block/block.go b/block/block.go index 9a16a1c5..3235c567 100644 --- a/block/block.go +++ b/block/block.go @@ -50,7 +50,7 @@ type ( // Transactions returns block's transaction list. Transactions() []Transaction - // SetTransaction sets block's transaction list. + // SetTransactions sets block's transaction list. SetTransactions([]Transaction) } diff --git a/payload/message.go b/payload/message.go index a7ed2241..d8ed52db 100644 --- a/payload/message.go +++ b/payload/message.go @@ -18,7 +18,7 @@ type ( // payload was originated from. ValidatorIndex() uint16 - // SetValidator index sets validator index. + // SetValidatorIndex sets validator index. SetValidatorIndex(i uint16) Height() uint32 diff --git a/payload/recovery_message.go b/payload/recovery_message.go index 28eae4ee..117473e8 100644 --- a/payload/recovery_message.go +++ b/payload/recovery_message.go @@ -17,7 +17,7 @@ type ( GetPrepareRequest(p ConsensusPayload, validators []crypto.PublicKey, primary uint16) ConsensusPayload // GetPrepareResponses returns a slice of PrepareResponse in any order. GetPrepareResponses(p ConsensusPayload, validators []crypto.PublicKey) []ConsensusPayload - // GetChangeView returns a slice of ChangeView in any order. + // GetChangeViews returns a slice of ChangeView in any order. GetChangeViews(p ConsensusPayload, validators []crypto.PublicKey) []ConsensusPayload // GetCommits returns a slice of Commit in any order. GetCommits(p ConsensusPayload, validators []crypto.PublicKey) []ConsensusPayload