File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
ibc-clients/ics07-tendermint/types/src
ibc-testkit/src/fixtures/clients Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -134,11 +134,11 @@ impl TryFrom<Fraction> for TrustThreshold {
134
134
}
135
135
}
136
136
137
- impl Default for TrustThreshold {
138
- fn default ( ) -> Self {
139
- Self :: ONE_THIRD
140
- }
141
- }
137
+ // impl Default for TrustThreshold {
138
+ // fn default() -> Self {
139
+ // Self::ONE_THIRD
140
+ // }
141
+ // }
142
142
143
143
impl Display for TrustThreshold {
144
144
fn fmt ( & self , f : & mut Formatter < ' _ > ) -> Result < ( ) , FmtError > {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ pub fn dummy_tm_client_state_from_header(tm_header: TmHeader) -> TmClientState {
26
26
let chain_id = ChainId :: from_str ( tm_header. chain_id . as_str ( ) ) . expect ( "Never fails" ) ;
27
27
let client_state = ClientStateType :: new (
28
28
chain_id. clone ( ) ,
29
- Default :: default ( ) ,
29
+ TrustThreshold :: ONE_THIRD ,
30
30
Duration :: from_secs ( 64000 ) ,
31
31
Duration :: from_secs ( 128000 ) ,
32
32
Duration :: from_millis ( 3000 ) ,
You can’t perform that action at this time.
0 commit comments