Skip to content

Commit 3dbf76c

Browse files
Nao NishijimaNao Nishijima
Nao Nishijima
authored and
Nao Nishijima
committed
Fix typo on docs/protocol-spec.md
This protocol-spec.md had spelled 'consesus' This patch fix 'consensus'. Change-Id: I4c7981fb03fc0ca008726aea0fd384ed30aa7444 Signed-off-by: Nao Nishijima <[email protected]>
1 parent 37f3a4e commit 3dbf76c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/protocol-spec.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ This function is called by `helper.NewConsensusHandler` when setting the `consen
11381138

11391139
##### 3.4.11.1 High-level overview
11401140

1141-
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.
1141+
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.
11421142

11431143
##### 3.4.11.2 helper.ConsensusHandler
11441144

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

11941194
##### 3.4.11.6 helper.HandleMessage
11951195

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

11981198
```
11991199
type MessageHandler interface {

0 commit comments

Comments
 (0)