fix: always send networkId due to bug in dart implementation
This commit is contained in:
parent
b70d350447
commit
a593cac1ce
|
@ -56,11 +56,9 @@ func (h HandshakeOpen) EncodeMsgpack(enc *msgpack.Encoder) error {
|
|||
return err
|
||||
}
|
||||
|
||||
if h.networkId != "" {
|
||||
err = enc.EncodeString(h.networkId)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
err = enc.EncodeString(h.networkId)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue