From e7574d451675592f10fa23d0cf8afeb2ba758345 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Sat, 12 Mar 2016 19:29:18 +0100 Subject: [PATCH] Update lib.rs --- sync/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync/src/lib.rs b/sync/src/lib.rs index bcf8fbcd1..0c7abd1d0 100644 --- a/sync/src/lib.rs +++ b/sync/src/lib.rs @@ -167,7 +167,7 @@ impl NetworkProtocolHandler for EthSync { #[allow(single_match)] fn message(&self, io: &NetworkContext, message: &SyncMessage) { match *message { - SyncMessage::NewChainBlocks { ref good, ref bad, ref retracted} => { + SyncMessage::NewChainBlocks { ref good, ref bad, ref retracted } => { let mut sync_io = NetSyncIo::new(io, self.chain.deref()); self.sync.write().unwrap().chain_new_blocks(&mut sync_io, good, bad, retracted); },