minor formatting fix
This commit is contained in:
parent
0522c1105f
commit
b772251634
|
@ -48,15 +48,13 @@ proc neighborAdded*(
|
||||||
manifest: Manifest,
|
manifest: Manifest,
|
||||||
network: Network
|
network: Network
|
||||||
) =
|
) =
|
||||||
discard network.send(
|
discard network.send(WantHave(
|
||||||
WantHave(
|
|
||||||
request: true,
|
request: true,
|
||||||
sender: parent.some,
|
sender: parent.some,
|
||||||
receiver: neighbor,
|
receiver: neighbor,
|
||||||
cid: manifest.cid,
|
cid: manifest.cid,
|
||||||
haves: self.newSession(manifest).blocks
|
haves: self.newSession(manifest).blocks
|
||||||
)
|
))
|
||||||
)
|
|
||||||
|
|
||||||
method deliver*(
|
method deliver*(
|
||||||
self: BlockExchangeProtocol,
|
self: BlockExchangeProtocol,
|
||||||
|
|
Loading…
Reference in New Issue