Skip to content

Commit 7329461

Browse files
committed
fix: Builds again after merging develop
1 parent 0af0023 commit 7329461

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

stackslib/src/core/mempool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2280,7 +2280,7 @@ impl MemPoolDB {
22802280
if let Some(event_observer) = event_observer {
22812281
let sql = "SELECT txid FROM mempool WHERE accept_time < ?1";
22822282
let txids = query_rows(tx, sql, args)?;
2283-
event_observer.mempool_txs_dropped(txids, MemPoolDropReason::STALE_COLLECT);
2283+
event_observer.mempool_txs_dropped(txids, None, MemPoolDropReason::STALE_COLLECT);
22842284
}
22852285

22862286
let sql = "DELETE FROM mempool WHERE accept_time < ?1";

stackslib/src/net/api/tests/postblock_proposal.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,13 @@ impl MemPoolEventDispatcher for ProposalTestObserver {
186186
Some(Box::new(Arc::clone(&self.proposal_observer)))
187187
}
188188

189-
fn mempool_txs_dropped(&self, txids: Vec<Txid>, reason: mempool::MemPoolDropReason) {}
189+
fn mempool_txs_dropped(
190+
&self,
191+
txids: Vec<Txid>,
192+
new_txid: Option<Txid>,
193+
reason: mempool::MemPoolDropReason,
194+
) {
195+
}
190196

191197
fn mined_block_event(
192198
&self,

0 commit comments

Comments
 (0)