Skip to content

Commit 8d577a0

Browse files
authored
Merge pull request #24 from lsd-ucsc/fix/transport-send
unwrap before sending data with broadcast
2 parents 286794d + daa5600 commit 8d577a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

chorus_lib/src/core.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,8 @@ where
451451
if L1::name() == T::name() {
452452
for dest in &self.locations {
453453
if T::name() != *dest {
454-
self.transport.send(&T::name(), &dest, &data.value);
454+
self.transport
455+
.send(&T::name(), &dest, data.value.as_ref().unwrap());
455456
}
456457
}
457458
return data.value.unwrap();

0 commit comments

Comments
 (0)