Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/coordinator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ impl BitcoinCoordinator {
// Handle the case where the transaction is a CPFP (Child Pays For Parent) transaction.

// First we acknowledge the transaction to clear any related news.
let ack = AckMonitorNews::Transaction(tx_status.tx_id);
let ack = AckMonitorNews::Transaction(tx_status.tx_id, tx.context.clone());
self.monitor.ack_news(ack)?;

if tx_status
Expand Down
2 changes: 1 addition & 1 deletion tests/speedup_regtest_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ fn speedup_tx() -> Result<(), anyhow::Error> {
// Ack the news
match news.monitor_news[0] {
MonitorNews::Transaction(txid, _, _) => {
let ack_news = AckMonitorNews::Transaction(txid);
let ack_news = AckMonitorNews::Transaction(txid, "My tx".to_string());
coordinator.ack_news(AckNews::Monitor(ack_news))?;
}
_ => {
Expand Down
Loading