mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-03-15 19:06:17 -04:00

Unfortunately, I had to put the wrap the swarm in Alice's `Network` struct in an `Arc<Mutex<T>>` in order to be able to use `backoff` to control the retry mechanism. This is because the stream of events cannot be turned into a `SharedFuture` (unlike Bob's). It would be good to find an alternative solution.