Skip to content

Commit

Permalink
docs(fix): reject_and_remove_same_effects docs is wrong (#8776)
Browse files Browse the repository at this point in the history
* update docs for `reject_and_remove_same_effects`

* Apply suggestions from code review

Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>

---------

Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
  • Loading branch information
oxarbitrage and daira authored Aug 20, 2024
1 parent aa62b57 commit bcd66ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zebrad/src/components/mempool/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ impl Storage {
/// - Removes from the 'verified' set, if present.
/// Maintains the order in which the other unmined transactions have been inserted into the mempool.
///
/// Reject and remove transactions from the mempool that contain any outpoints or nullifiers in
/// the `spent_outpoints` or `nullifiers` collections that are passed in.
/// Reject and remove transactions from the mempool that contain any spent outpoints or revealed
/// nullifiers from the passed in `transactions`.
///
/// Returns the number of transactions that were removed.
pub fn reject_and_remove_same_effects(
Expand Down

0 comments on commit bcd66ad

Please sign in to comment.