Skip to content

Commit

Permalink
tidy up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardJES committed Aug 14, 2024
1 parent 6b87409 commit d3ffbb5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/anvil/src/eth/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1926,14 +1926,14 @@ impl EthApi {
Ok(())
}

/// Reorg the chain to a specific depth and mine new blocks to the pre-reorg height.
/// Reorg the chain to a specific depth and mine new blocks back to the cannonical height.
///
/// e.g depth = 3
/// A -> B -> C -> D -> E
/// A -> B -> C' -> D' -> E'
///
/// Depth specifies the height to reorg the chain back to. Must not exceed the current chain
/// height, i.e. can't reorg past the genesis block.
/// Depth specifies the height to reorg the chain back to. Depth must not exceed the current
/// chain height, i.e. can't reorg past the genesis block.
///
/// Optionally supply a list of transaction and block pairs that will populate the reorged
/// blocks. The maximum block number of the pairs must not exceed the specified depth.
Expand Down

0 comments on commit d3ffbb5

Please sign in to comment.