From 6876c50af8dc773dc68578e84fda8831fa3ced1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= <andre.beat@gmail.com> Date: Tue, 20 Aug 2019 20:32:26 +0200 Subject: [PATCH] sync: don't return on fork tree revert (#3444) --- substrate/core/network/src/protocol/sync/extra_requests.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/substrate/core/network/src/protocol/sync/extra_requests.rs b/substrate/core/network/src/protocol/sync/extra_requests.rs index d35084d2d58..9bc94d402ce 100644 --- a/substrate/core/network/src/protocol/sync/extra_requests.rs +++ b/substrate/core/network/src/protocol/sync/extra_requests.rs @@ -146,7 +146,6 @@ impl<B: BlockT> ExtraRequests<B> { Err(fork_tree::Error::Revert) => { // we might have finalized further already in which case we // will get a `Revert` error which we can safely ignore. - return Ok(()); }, Err(err) => return Err(err), Ok(_) => {}, -- GitLab