Basic bisecting schedule logic can be simplified #333
Labels
light-client
Issues/features which involve the light client
question
Further information is requested
In the basic bisection schedule implementation, see
tendermint-rs/light-client/src/components/scheduler.rs
Lines 56 to 75 in 184a1f9
lines 70 to 74 shouldn't be needed.
In my understanding, There are only two scenarios in which basic_bisecting_schedule is called (in case verification of header failed), and they are covered by lines:
tendermint-rs/light-client/src/components/scheduler.rs
Lines 66 to 69 in 184a1f9
Also trusted_height should always be smaller than target_height.
The text was updated successfully, but these errors were encountered: