mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-30 20:46:33 -05:00
Properly handle concurrent messages to and from peers
Previously, we were forwarding incoming messages from peers to all swaps that were currently running. That is obviously wrong. The new design scopes an `EventLoopHandle` to a specific PeerId to avoid this problem.
This commit is contained in:
parent
95acbc6277
commit
a57f88d1b4
9 changed files with 98 additions and 157 deletions
|
|
@ -30,4 +30,3 @@ pub mod seed;
|
|||
pub mod trace;
|
||||
|
||||
mod monero_ext;
|
||||
mod serde_peer_id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue