File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ pub fn check_for_misbehaviour(
55
55
let options = Options {
56
56
trust_threshold : client_state. trustLevel . clone ( ) . into ( ) ,
57
57
trusting_period : Duration :: from_secs ( client_state. trustingPeriod . into ( ) ) ,
58
- clock_drift : Duration :: default ( ) ,
58
+ clock_drift : Duration :: from_secs ( 15 ) ,
59
59
} ;
60
60
61
61
// Call into ibc-rs verify_misbehaviour function to verify that both headers are valid given their respective trusted consensus states
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ pub fn update_client(
31
31
let options = Options {
32
32
trust_threshold : client_state. trustLevel . clone ( ) . into ( ) ,
33
33
trusting_period : Duration :: from_secs ( client_state. trustingPeriod . into ( ) ) ,
34
- clock_drift : Duration :: default ( ) ,
34
+ clock_drift : Duration :: from_secs ( 15 ) ,
35
35
} ;
36
36
37
37
let mut ctx = types:: validation:: ClientValidationCtx :: new ( time) ;
You can’t perform that action at this time.
0 commit comments