Skip to content

Commit 1ef4fb7

Browse files
authored
Merge pull request #1702 from input-output-hk/jpraynaud/1681-fix-cardano-tx-mainnet
Fix Cardano transaction signed entity type timeout
2 parents d0f4c91 + 563c829 commit 1ef4fb7

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mithril-common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mithril-common"
3-
version = "0.4.5"
3+
version = "0.4.6"
44
description = "Common types, interfaces, and utilities for Mithril nodes."
55
authors = { workspace = true }
66
edition = { workspace = true }

mithril-common/src/entities/signed_entity_type.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,8 @@ impl SignedEntityType {
9191
pub fn get_open_message_timeout(&self) -> Option<Duration> {
9292
match self {
9393
Self::MithrilStakeDistribution(_) | Self::CardanoImmutableFilesFull(_) => None,
94-
Self::CardanoStakeDistribution(_) | Self::CardanoTransactions(_) => {
95-
Some(Duration::from_secs(600))
96-
}
94+
Self::CardanoStakeDistribution(_) => Some(Duration::from_secs(600)),
95+
Self::CardanoTransactions(_) => Some(Duration::from_secs(1800)),
9796
}
9897
}
9998

0 commit comments

Comments
 (0)