From 6817438648bbd5456b7a1041586ec2e2e3780666 Mon Sep 17 00:00:00 2001 From: Ignacio Pulice Donatto Date: Fri, 30 Jan 2026 12:34:45 -0300 Subject: [PATCH] Update changes from monitor --- src/coordinator.rs | 2 +- tests/speedup_regtest_test.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coordinator.rs b/src/coordinator.rs index acc6e0d..4d9f91a 100644 --- a/src/coordinator.rs +++ b/src/coordinator.rs @@ -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 diff --git a/tests/speedup_regtest_test.rs b/tests/speedup_regtest_test.rs index a02b627..915006d 100644 --- a/tests/speedup_regtest_test.rs +++ b/tests/speedup_regtest_test.rs @@ -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))?; } _ => {