Skip to content

Commit

Permalink
fix: update signed entity signing timeout for Cardano transactions
Browse files Browse the repository at this point in the history
From '600s' to '1800s'.
  • Loading branch information
jpraynaud committed May 21, 2024
1 parent 10b55c9 commit a78c5ce
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mithril-common/src/entities/signed_entity_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,8 @@ impl SignedEntityType {
pub fn get_open_message_timeout(&self) -> Option<Duration> {
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)),
}
}

Expand Down

0 comments on commit a78c5ce

Please sign in to comment.