sc-network: update some dependencies (#7582)

Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
Qinxuan Chen
2020-11-24 02:29:41 +08:00
committed by GitHub
parent d692d173f2
commit 22bd5a9b15
3 changed files with 20 additions and 38 deletions
@@ -715,7 +715,7 @@ impl ProtocolsHandler for NotifsHandler {
},
NotifsHandlerIn::Close => {
for mut substream in self.legacy_substreams.drain() {
for mut substream in self.legacy_substreams.drain(..) {
substream.shutdown();
self.legacy_shutdown.push(substream);
}