Skip to content

Commit 2c35893

Browse files
committed
fix: accept merge.
1 parent 9cef857 commit 2c35893

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

protocol-units/execution/opt-executor/src/gc_account_sequence_number.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl UsedSequenceNumberPool {
7979
let slots_to_remove: Vec<u64> = self
8080
.sequence_number_lifetimes
8181
.keys()
82-
.take_while(|slot| *slot < slot_cutoff)
82+
.take_while(|slot| **slot < slot_cutoff)
8383
.cloned()
8484
.collect();
8585
for slot in slots_to_remove {

protocol-units/execution/opt-executor/src/transaction_pipe.rs

+8-8
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,21 @@ impl From<anyhow::Error> for Error {
4040
}
4141

4242
pub struct TransactionPipe {
43-
/// The receiver for the mempool client.
43+
// The receiver for the mempool client.
4444
mempool_client_receiver: futures_mpsc::Receiver<MempoolClientRequest>,
45-
/// Sender for the channel with accepted transactions.
45+
// Sender for the channel with accepted transactions.
4646
transaction_sender: mpsc::Sender<SignedTransaction>,
47-
/// Access to the ledger DB. TODO: reuse an instance of VMValidator
47+
// Access to the ledger DB. TODO: reuse an instance of VMValidator
4848
db_reader: Arc<dyn DbReader>,
49-
/// State of the Aptos mempool
49+
// State of the Aptos mempool
5050
core_mempool: CoreMempool,
51-
/// Shared reference on the counter of transactions in flight.
51+
// Shared reference on the counter of transactions in flight.
5252
transactions_in_flight: Arc<AtomicU64>,
53-
/// The configured limit on transactions in flight
53+
// The configured limit on transactions in flight
5454
in_flight_limit: u64,
55-
/// Timestamp of the last garbage collection
55+
// Timestamp of the last garbage collection
5656
last_gc: Instant,
57-
/// The pool of used sequence numbers
57+
// The pool of used sequence numbers
5858
used_sequence_number_pool: UsedSequenceNumberPool,
5959
}
6060

0 commit comments

Comments
 (0)