mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-10 10:05:09 +03:00
Remove useless assert...
This commit is contained in:
parent
b71e6f161d
commit
079c4f7696
6
v/raft.c
6
v/raft.c
@ -174,12 +174,10 @@ _raft_promote(u2_raft* raf_u)
|
||||
}
|
||||
else {
|
||||
c3_assert(u2_raty_cand == raf_u->typ_e);
|
||||
sas_i = uv_timer_stop(&raf_u->tim_u);
|
||||
c3_assert(0 == sas_i);
|
||||
|
||||
raf_u->typ_e = u2_raty_lead;
|
||||
|
||||
c3_assert(0 == uv_is_active((uv_handle_t*)&raf_u->tim_u));
|
||||
sas_i = uv_timer_stop(&raf_u->tim_u);
|
||||
c3_assert(0 == sas_i);
|
||||
sas_i = uv_timer_start(&raf_u->tim_u, _raft_time_cb, 50, 50);
|
||||
c3_assert(0 == sas_i);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user