Skip to content

Commit

Permalink
Merge pull request #24 from lsd-ucsc/fix/transport-send
Browse files Browse the repository at this point in the history
unwrap before sending data with broadcast
  • Loading branch information
shumbo authored Nov 12, 2023
2 parents 286794d + daa5600 commit 8d577a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chorus_lib/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,8 @@ where
if L1::name() == T::name() {
for dest in &self.locations {
if T::name() != *dest {
self.transport.send(&T::name(), &dest, &data.value);
self.transport
.send(&T::name(), &dest, data.value.as_ref().unwrap());
}
}
return data.value.unwrap();
Expand Down

0 comments on commit 8d577a0

Please sign in to comment.