File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
tap_integration_tests/tests Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ impl Check for TimestampCheck {
5959 async fn check ( & self , receipt : & ReceiptWithState < Checking > ) -> CheckResult {
6060 let min_timestamp_ns = * self . min_timestamp_ns . read ( ) . unwrap ( ) ;
6161 let signed_receipt = receipt. signed_receipt ( ) ;
62- if signed_receipt. message . timestamp_ns < min_timestamp_ns {
62+ if signed_receipt. message . timestamp_ns <= min_timestamp_ns {
6363 return Err ( ReceiptError :: InvalidTimestamp {
6464 received_timestamp : signed_receipt. message . timestamp_ns ,
6565 timestamp_min : min_timestamp_ns,
Original file line number Diff line number Diff line change @@ -187,13 +187,12 @@ fn executor(
187187 escrow_storage. clone ( ) ,
188188 timestamp_check. clone ( ) ,
189189 ) ;
190- let mut checks = get_full_list_of_checks (
190+ let checks = get_full_list_of_checks (
191191 domain_separator,
192192 sender_ids. iter ( ) . cloned ( ) . collect ( ) ,
193193 Arc :: new ( RwLock :: new ( allocation_ids. iter ( ) . cloned ( ) . collect ( ) ) ) ,
194194 query_appraisals,
195195 ) ;
196- checks. push ( timestamp_check) ;
197196
198197 let checks = Checks :: new ( checks) ;
199198
You can’t perform that action at this time.
0 commit comments