From a78c5ce734e298e8912053a2ea22a91b1a5696e7 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Raynaud Date: Tue, 21 May 2024 14:37:52 +0200 Subject: [PATCH] fix: update signed entity signing timeout for Cardano transactions From '600s' to '1800s'. --- mithril-common/src/entities/signed_entity_type.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mithril-common/src/entities/signed_entity_type.rs b/mithril-common/src/entities/signed_entity_type.rs index 50fd930ecc4..b613e9fbc67 100644 --- a/mithril-common/src/entities/signed_entity_type.rs +++ b/mithril-common/src/entities/signed_entity_type.rs @@ -91,9 +91,8 @@ impl SignedEntityType { pub fn get_open_message_timeout(&self) -> Option { match self { Self::MithrilStakeDistribution(_) | Self::CardanoImmutableFilesFull(_) => None, - Self::CardanoStakeDistribution(_) | Self::CardanoTransactions(_) => { - Some(Duration::from_secs(600)) - } + Self::CardanoStakeDistribution(_) => Some(Duration::from_secs(600)), + Self::CardanoTransactions(_) => Some(Duration::from_secs(1800)), } }