File tree Expand file tree Collapse file tree 4 files changed +1
-4
lines changed Expand file tree Collapse file tree 4 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ health_threshold_promilles = 950
13
13
health_unsignable_promilles = 750
14
14
propagation_timeout = 1000
15
15
16
- list_timeout = 5000
17
16
fetch_timeout = 5000
18
17
validator_tick_timeout = 5000
19
18
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ health_threshold_promilles = 970
13
13
health_unsignable_promilles = 770
14
14
propagation_timeout = 3000
15
15
16
- list_timeout = 10000
17
16
fetch_timeout = 10000
18
17
validator_tick_timeout = 10000
19
18
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ pub struct Config {
29
29
pub health_unsignable_promilles : u32 ,
30
30
pub propagation_timeout : u32 ,
31
31
pub fetch_timeout : u32 ,
32
- pub list_timeout : u32 ,
33
32
pub validator_tick_timeout : u32 ,
34
33
pub ip_rate_limit : RateLimit , // HashMap??
35
34
pub sid_rate_limit : RateLimit , // HashMap ??
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ pub async fn check_access(
72
72
}
73
73
74
74
// Only the creator can send a CLOSE
75
- if is_creator && events. iter ( ) . any ( is_close_event) {
75
+ if ! is_creator && events. iter ( ) . any ( is_close_event) {
76
76
return Err ( Error :: OnlyCreatorCanCloseChannel ) ;
77
77
}
78
78
You can’t perform that action at this time.
0 commit comments