Skip to content

Commit

Permalink
Fix a couple of typos (#3547)
Browse files Browse the repository at this point in the history
Fix some typos in p2p/transport.go
  • Loading branch information
mdyring authored and liamsi committed Apr 12, 2019
1 parent 4e42242 commit a453628
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions p2p/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ func (mt *MultiplexTransport) upgrade(
if err != nil {
return nil, nil, ErrRejected{
conn: c,
err: fmt.Errorf("secrect conn failed: %v", err),
err: fmt.Errorf("secret conn failed: %v", err),
isAuthFailure: true,
}
}
Expand All @@ -377,7 +377,7 @@ func (mt *MultiplexTransport) upgrade(
conn: c,
id: connID,
err: fmt.Errorf(
"conn.ID (%v) dialed ID (%v) missmatch",
"conn.ID (%v) dialed ID (%v) mismatch",
connID,
dialedID,
),
Expand Down Expand Up @@ -409,7 +409,7 @@ func (mt *MultiplexTransport) upgrade(
conn: c,
id: connID,
err: fmt.Errorf(
"conn.ID (%v) NodeInfo.ID (%v) missmatch",
"conn.ID (%v) NodeInfo.ID (%v) mismatch",
connID,
nodeInfo.ID(),
),
Expand Down

0 comments on commit a453628

Please sign in to comment.