Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Aug 21, 2023
1 parent 0e2da1f commit 377f76a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/relayer/src/chain/cosmos/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ impl Settings {
Settings {
max_clock_drift,
trusting_period: options.trusting_period,
trust_threshold: options
.trust_threshold
.unwrap_or_else(|| src_trust_threshold.into()),
trust_threshold: options.trust_threshold.unwrap_or(src_trust_threshold),
}
}
}
Expand Down

0 comments on commit 377f76a

Please sign in to comment.