sync: don't return on fork tree revert (#3444)

This commit is contained in:
André Silva
2019-08-20 20:32:26 +02:00
committed by Gavin Wood
parent 320fb38a2f
commit 6876c50af8
@@ -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(_) => {},