From a47ab5c0ec52598849e5cc8ab2ec4103b9f902fc Mon Sep 17 00:00:00 2001 From: librelois Date: Tue, 20 Jun 2023 15:59:27 +0200 Subject: [PATCH] allow to revert finalized blocks --- client/service/src/chain_ops/revert_chain.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/service/src/chain_ops/revert_chain.rs b/client/service/src/chain_ops/revert_chain.rs index f3c344a75c5b0..ba3433144e4ee 100644 --- a/client/service/src/chain_ops/revert_chain.rs +++ b/client/service/src/chain_ops/revert_chain.rs @@ -33,7 +33,7 @@ where C: UsageProvider, BA: Backend, { - let reverted = backend.revert(blocks, false)?; + let reverted = backend.revert(blocks, true)?; let info = client.usage_info().chain; if reverted.0.is_zero() {