Skip to content

Commit

Permalink
chore(cleanup): fix some incorrectly copy-pasted comments
Browse files Browse the repository at this point in the history
  • Loading branch information
drcpu-github committed Oct 31, 2024
1 parent fd62060 commit 68330ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data_structures/src/chain/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2569,13 +2569,13 @@ impl TransactionsPool {
self.re_hash_index.clear();
}

/// Clear reveal transactions in TransactionsPool
/// Clear stake transactions in TransactionsPool
pub fn clear_stake_transactions(&mut self) {
self.st_transactions.clear();
self.sorted_st_index.clear();
}

/// Clear reveal transactions in TransactionsPool
/// Clear unstake transactions in TransactionsPool
pub fn clear_unstake_transactions(&mut self) {
self.ut_transactions.clear();
self.sorted_ut_index.clear();
Expand Down

0 comments on commit 68330ac

Please sign in to comment.