fix off by one for send_to() of blob
This commit is contained in:
@ -598,7 +598,7 @@ impl Crdt {
|
|||||||
v.contact_info.tvu,
|
v.contact_info.tvu,
|
||||||
blob.is_coding()
|
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);
|
let e = s.send_to(&blob.data[..blob.meta.size], &v.contact_info.tvu);
|
||||||
trace!(
|
trace!(
|
||||||
"{:x}: done broadcast {} to {:x} {}",
|
"{:x}: done broadcast {} to {:x} {}",
|
||||||
|
Reference in New Issue
Block a user