Skip to content

Commit

Permalink
move back to async internal channel
Browse files Browse the repository at this point in the history
  • Loading branch information
herr-seppia committed Sep 11, 2024
1 parent d6b5b61 commit 3092444
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ impl WireNetwork {
}

dec_chan_tx
.try_send((bytes[0..len].to_vec(), remote_address))
.send((bytes[0..len].to_vec(), remote_address))
.await
.unwrap_or_else(|e| {
error!("Unable to send to dec_chan_tx channel {e}")
});
Expand Down

0 comments on commit 3092444

Please sign in to comment.