Skip to content

Commit 1f6c1df

Browse files
author
Naohiro Yoshida
committed
tweak
Signed-off-by: Naohiro Yoshida <naohiro.yoshida@datachain.jp>
1 parent 0084d73 commit 1f6c1df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

light-client/src/client_state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ impl ClientState {
6969
// second must be forks spec timestamp
7070
if header.eth_header().all.len() >= 2 {
7171
let h = &header.eth_header().all[1];
72-
if ts == h.milli_timestamp() {
72+
if ts <= h.milli_timestamp() {
7373
fs.height_or_timestamp = HeightOrTimestamp::Height(h.number)
7474
}
7575
}

0 commit comments

Comments
 (0)