diff --git a/swarmsim/codex/blockexchange/blockexchange.nim b/swarmsim/codex/blockexchange/blockexchange.nim index ea8fd59..a11dc5d 100644 --- a/swarmsim/codex/blockexchange/blockexchange.nim +++ b/swarmsim/codex/blockexchange/blockexchange.nim @@ -48,15 +48,13 @@ proc neighborAdded*( manifest: Manifest, network: Network ) = - discard network.send( - WantHave( - request: true, - sender: parent.some, - receiver: neighbor, - cid: manifest.cid, - haves: self.newSession(manifest).blocks - ) - ) + discard network.send(WantHave( + request: true, + sender: parent.some, + receiver: neighbor, + cid: manifest.cid, + haves: self.newSession(manifest).blocks + )) method deliver*( self: BlockExchangeProtocol,