Skip to content

Commit

Permalink
Merge "Fix typo on docs/protocol-spec.md"
Browse files Browse the repository at this point in the history
  • Loading branch information
hacera-jonathan authored and Gerrit Code Review committed Jan 31, 2017
2 parents 63d15ef + 3dbf76c commit 8762744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/protocol-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ This function is called by `helper.NewConsensusHandler` when setting the `consen

##### 3.4.11.1 High-level overview

A validating peer establishes a message handler (`helper.ConsensusHandler`) for every connected peer, via the `helper.NewConsesusHandler` function (a handler factory). Every incoming message is inspected on its type (`helper.HandleMessage`); if it's a message for which consensus needs to be reached, it's passed on to the peer's consenter object (`consensus.Consenter`). Otherwise it's passed on to the next message handler in the stack.
A validating peer establishes a message handler (`helper.ConsensusHandler`) for every connected peer, via the `helper.NewConsensusHandler` function (a handler factory). Every incoming message is inspected on its type (`helper.HandleMessage`); if it's a message for which consensus needs to be reached, it's passed on to the peer's consenter object (`consensus.Consenter`). Otherwise it's passed on to the next message handler in the stack.

##### 3.4.11.2 helper.ConsensusHandler

Expand Down Expand Up @@ -1193,7 +1193,7 @@ Returns a `helper.Helper` object whose `coordinator` is set to the input argumen

##### 3.4.11.6 helper.HandleMessage

Recall that the `helper.ConsesusHandler` object returned by `helper.NewConsensusHandler` implements the `peer.MessageHandler` interface:
Recall that the `helper.ConsensusHandler` object returned by `helper.NewConsensusHandler` implements the `peer.MessageHandler` interface:

```
type MessageHandler interface {
Expand Down

0 comments on commit 8762744

Please sign in to comment.