From 8e6cc0f55839fec09ed961b86cd29436fbfcebf4 Mon Sep 17 00:00:00 2001 From: crivasr Date: Mon, 18 May 2026 11:18:52 -0300 Subject: [PATCH] fix: do not cancel inexistent timeouts --- src/program/protocols/timeouts.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/program/protocols/timeouts.rs b/src/program/protocols/timeouts.rs index 159e7d50..2b4320e7 100644 --- a/src/program/protocols/timeouts.rs +++ b/src/program/protocols/timeouts.rs @@ -202,7 +202,9 @@ pub fn cancel_timeout( return Ok(()); }; - if next.owner != protocol_handler.role() { + if next.owner != protocol_handler.role() + && !ownership_table.ignored_input_txs.contains(&next.tx_name) + { let tx_to_cancel = timeout_tx(&next.tx_name); info!("Cancel timeout tx: {}", tx_to_cancel); let tx_id = protocol_handler.get_transaction_id_by_name(&tx_to_cancel)?;