File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -2280,7 +2280,7 @@ impl MemPoolDB {
2280
2280
if let Some ( event_observer) = event_observer {
2281
2281
let sql = "SELECT txid FROM mempool WHERE accept_time < ?1" ;
2282
2282
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 ) ;
2284
2284
}
2285
2285
2286
2286
let sql = "DELETE FROM mempool WHERE accept_time < ?1" ;
Original file line number Diff line number Diff line change @@ -186,7 +186,13 @@ impl MemPoolEventDispatcher for ProposalTestObserver {
186
186
Some ( Box :: new ( Arc :: clone ( & self . proposal_observer ) ) )
187
187
}
188
188
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
+ }
190
196
191
197
fn mined_block_event (
192
198
& self ,
You can’t perform that action at this time.
0 commit comments