Skip to content

Commit

Permalink
Fix: successful execution of 'reth stage --commit' did not write resu…
Browse files Browse the repository at this point in the history
…lts to the database (#4027)
  • Loading branch information
anonymousGiga authored Aug 3, 2023
1 parent 8c70524 commit ce6e247
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/reth/src/stage/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,10 @@ impl Command {
}
}

if self.commit {
provider_rw.commit()?;
}

Ok(())
}
}

0 comments on commit ce6e247

Please sign in to comment.