mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-01-12 07:59:33 -05:00
Add comment regarding processing in network behaviour
This commit is contained in:
parent
2c9fb7b1da
commit
e71bf7d8e9
@ -76,7 +76,7 @@ impl NetworkBehaviourEventProcess<RequestResponseEvent<BobToAlice, AliceToBob>>
|
||||
} => {
|
||||
if let BobToAlice::Message0(msg) = request {
|
||||
debug!("Received Message0");
|
||||
|
||||
// TODO(Franck): Move this business logic out of the network behaviour.
|
||||
let response = AliceToBob::Message0(self.state.next_message(&mut OsRng));
|
||||
|
||||
self.rr.send_response(channel, response);
|
||||
|
Loading…
Reference in New Issue
Block a user