Skip to content

Commit

Permalink
wire-mix: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jrick committed Nov 24, 2023
1 parent 6df14d8 commit 1b102c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wire/msgmixpairreq.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,9 @@ func (msg *MsgMixPairReq) hashEncode(h hash.Hash, pver uint32) {
// the signature. This allows code reuse between message serialization, and
// signing and verifying these message contents.
//
// When hashing is true, w is a hash.Hash (writes never error) and no errors
// will be returned for invalid message construction.
// If op is the empty string (when the message is being hashed), w is a
// hash.Hash (writes never error) and no errors will be returned for invalid
// message construction.
func (msg *MsgMixPairReq) writeMessageNoSignature(op string, w io.Writer, pver uint32) error {
hashing := op == ""

Expand Down

0 comments on commit 1b102c3

Please sign in to comment.