From e71bf7d8e9336ea89affe72d724a1e51a19462e8 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Thu, 10 Dec 2020 13:56:45 +1100 Subject: [PATCH] Add comment regarding processing in network behaviour --- swap/src/alice/message0.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swap/src/alice/message0.rs b/swap/src/alice/message0.rs index f9989f4f..72ac0f30 100644 --- a/swap/src/alice/message0.rs +++ b/swap/src/alice/message0.rs @@ -76,7 +76,7 @@ impl NetworkBehaviourEventProcess> } => { 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);