Skip to content

Commit

Permalink
Fixed more typos
Browse files Browse the repository at this point in the history
  • Loading branch information
code-merc committed Mar 4, 2019
1 parent 71be58a commit ba37b3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frameworks/ethpool/framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func (f *Framework) SendMessage(recipient common.Address, messageType string, bo
return nil
}

// RecieveMessageChan returns a channel that recieves messages
// RecieveMessageChan returns a channel that receives messages
func (f *Framework) RecieveMessageChan() chan *IncomingMessage {
return f.messageChan
}
Expand Down Expand Up @@ -244,7 +244,7 @@ func (f *Framework) NewMessage(ctx *network.MessageContext) {
}
ctx.Reply(m)

} else { // Send everything else to the recieve channel
} else { // Send everything else to the receive channel
f.messageChan <- &IncomingMessage{Sender: dhtMessage.Sender, Body: dhtMessage, Type: ctx.Message.Type}
}
}
Expand Down
2 changes: 1 addition & 1 deletion network/legion.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ func (l *Legion) NewMessage(messageType string, body []byte) *transport.Message

func (l *Legion) handleNewConnection(conn net.Conn) {
// Create a new peer that's not yet stored, it will be registered with the network
// later in the message listener once we recieve a message from it.
// later in the message listener once we receive a message from it.
p := NewPeer(utils.LegionAddress{})
err := p.CreateServer(conn)
if err != nil {
Expand Down

0 comments on commit ba37b3d

Please sign in to comment.