From bcd66ad71e4f9418eb2d59db6ca615a952ff3d26 Mon Sep 17 00:00:00 2001 From: Alfredo Garcia Date: Tue, 20 Aug 2024 14:43:41 -0300 Subject: [PATCH] docs(fix): `reject_and_remove_same_effects` docs is wrong (#8776) * update docs for `reject_and_remove_same_effects` * Apply suggestions from code review Co-authored-by: Daira-Emma Hopwood --------- Co-authored-by: Daira-Emma Hopwood --- zebrad/src/components/mempool/storage.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zebrad/src/components/mempool/storage.rs b/zebrad/src/components/mempool/storage.rs index 90b114fff..d380efb84 100644 --- a/zebrad/src/components/mempool/storage.rs +++ b/zebrad/src/components/mempool/storage.rs @@ -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(