xmr-btc-swap/swap/tests
Thomas Eizinger 54bc91581f
Don't unnecessarily create async blocks
If our expression directly evaluates to a future, we don't need to
create an async block.

This requires us to have `EventLoopRun::run` consume the instance
instead of just taking a mutable reference (otherwise we run into
lifetime issues). However, that is better anyway because `run` is
an endless loop so you never get to use the handle afterwards
anyway.
2021-03-03 14:53:05 +11:00
..
testutils Don't unnecessarily create async blocks 2021-03-03 14:53:05 +11:00
bob_refunds_using_cancel_and_refund_command_timelock_not_expired_force.rs Fix typo 2021-02-10 16:42:55 +11:00
bob_refunds_using_cancel_and_refund_command_timelock_not_expired.rs Fix typo 2021-02-10 16:42:55 +11:00
bob_refunds_using_cancel_and_refund_command.rs Alice event loop now handles the creation of new swaps 2021-02-10 16:42:55 +11:00
happy_path_restart_bob_before_comm.rs Alice event loop now handles the creation of new swaps 2021-02-10 16:42:55 +11:00
happy_path.rs Alice event loop now handles the creation of new swaps 2021-02-10 16:42:55 +11:00