Skip to content

Commit

Permalink
fix: typo (#2624)
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill authored Oct 24, 2023
1 parent 2662063 commit 9226017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mq/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func decryptMsgWithHost(host *models.Host, msg []byte) ([]byte, error) {

func DecryptMsg(node *models.Node, msg []byte) ([]byte, error) {
if len(msg) <= 24 { // make sure message is of appropriate length
return nil, fmt.Errorf("recieved invalid message from broker %v", msg)
return nil, fmt.Errorf("received invalid message from broker %v", msg)
}
host, err := logic.GetHost(node.HostID.String())
if err != nil {
Expand Down

0 comments on commit 9226017

Please sign in to comment.