fix: always send networkId due to bug in dart implementation

This commit is contained in:
Derrick Hammer 2024-01-08 12:13:28 -05:00
parent b70d350447
commit a593cac1ce
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 5 deletions

View File

@ -56,11 +56,9 @@ func (h HandshakeOpen) EncodeMsgpack(enc *msgpack.Encoder) error {
return err return err
} }
if h.networkId != "" { err = enc.EncodeString(h.networkId)
err = enc.EncodeString(h.networkId) if err != nil {
if err != nil { return err
return err
}
} }
return nil return nil