Skip to content
Snippets Groups Projects
Commit 9d01117d authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

fixed a bug in symmetric broadcast

parent fed0850c
No related branches found
No related tags found
3 merge requests!510Release,!419rewrote the health tracker to both consider if there are waiting rounds and...,!340Project/channels
......@@ -62,7 +62,7 @@ func (bc *broadcastClient) BroadcastWithAssembler(assembler Assembler, cMixParam
return format.Fingerprint{}, message.Service{}, nil, nil, err
}
if len(payload) != bc.maxSymmetricPayload() {
if len(payload) > bc.maxSymmetricPayload() {
return format.Fingerprint{}, message.Service{}, nil, nil,
errors.Errorf(errPayloadSize, len(payload), bc.maxSymmetricPayload())
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment