mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-03-04 12:39:25 -05:00

There are no guarantees that send_message and receive_massage do not block the flow of execution. Therefore they must be paired between Alice/Bob, one send to one receive in the correct order. Define Alice to call `receive_message` first, with Bob sending the message. Do this because we are expecting Alice to be have a well known address, there is no currently such assumption for Bob.