Skip to content

Commit ad255dc

Browse files
committed
fix: Remove obtain_invalid_receipts
Signed-off-by: Carlos V <[email protected]>
1 parent 70fa8fa commit ad255dc

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

tap_core/src/manager/tap_manager.rs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -204,24 +204,6 @@ where
204204
})
205205
}
206206

207-
pub async fn obtain_invalid_receipts(
208-
&self,
209-
timestamp_buffer_ns: u64,
210-
receipts_limit: Option<u64>,
211-
) -> Result<Vec<ReceiptWithState<Failed>>, Error> {
212-
let previous_rav = self.get_previous_rav().await?;
213-
let min_timestamp_ns = previous_rav
214-
.as_ref()
215-
.map(|rav| rav.message.timestampNs + 1)
216-
.unwrap_or(0);
217-
218-
let (_, invalid_receipts) = self
219-
.collect_receipts(timestamp_buffer_ns, min_timestamp_ns, receipts_limit)
220-
.await?;
221-
222-
Ok(invalid_receipts)
223-
}
224-
225207
fn generate_expected_rav(
226208
receipts: &[ReceiptWithState<Reserved>],
227209
previous_rav: Option<SignedRAV>,

0 commit comments

Comments
 (0)