fix: encode the challenge, mot the original message
This commit is contained in:
parent
3f469a3a15
commit
102f147ec4
|
@ -38,7 +38,7 @@ func (m HandshakeDone) EncodeMsgpack(enc *msgpack.Encoder) error {
|
|||
return err
|
||||
}
|
||||
|
||||
err = enc.EncodeBytes(m.Original())
|
||||
err = enc.EncodeBytes(m.handshake)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue