Skip to content

Commit

Permalink
Fix default trusting period regression (#1441)
Browse files Browse the repository at this point in the history
  • Loading branch information
hu55a1n1 committed Oct 11, 2021
1 parent e30dc2d commit 5836a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relayer/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ pub struct ChainConfig {
pub max_tx_size: MaxTxSize,
#[serde(default = "default::clock_drift", with = "humantime_serde")]
pub clock_drift: Duration,
#[serde(with = "humantime_serde")]
#[serde(default, with = "humantime_serde")]
pub trusting_period: Option<Duration>,

// these two need to be last otherwise we run into `ValueAfterTable` error when serializing to TOML
Expand Down

0 comments on commit 5836a5f

Please sign in to comment.