mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-02-23 16:19:47 -05: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.