fix: encode the challenge, mot the original message

This commit is contained in:
Derrick Hammer 2024-01-07 21:38:26 -05:00
parent 3f469a3a15
commit 102f147ec4
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ func (m HandshakeDone) EncodeMsgpack(enc *msgpack.Encoder) error {
return err return err
} }
err = enc.EncodeBytes(m.Original()) err = enc.EncodeBytes(m.handshake)
if err != nil { if err != nil {
return err return err
} }