You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: node/src/manager/commands/rewind.rs
+2-2
Original file line number
Diff line number
Diff line change
@@ -133,13 +133,13 @@ pub async fn run(
133
133
let deployment_details = deployment_store.deployment_details_for_id(locator)?;
134
134
let block_number_to = block_ptr_to.as_ref().map(|b| b.number).unwrap_or(0);
135
135
136
-
if block_number_to < deployment_details.earliest_block_number + ENV_VARS.reorg_threshold{
136
+
if block_number_to < deployment_details.earliest_block_number + ENV_VARS.reorg_threshold(){
137
137
bail!(
138
138
"The block number {} is not safe to rewind to for deployment {}. The earliest block number of this deployment is {}. You can only safely rewind to block number {}",
0 commit comments