fix off by one for send_to() of blob
This commit is contained in:
parent
6fde65577e
commit
75212f40e7
|
@ -598,7 +598,7 @@ impl Crdt {
|
|||
v.contact_info.tvu,
|
||||
blob.is_coding()
|
||||
);
|
||||
assert!(blob.meta.size < BLOB_SIZE);
|
||||
assert!(blob.meta.size <= BLOB_SIZE);
|
||||
let e = s.send_to(&blob.data[..blob.meta.size], &v.contact_info.tvu);
|
||||
trace!(
|
||||
"{:x}: done broadcast {} to {:x} {}",
|
||||
|
|
Loading…
Reference in New Issue