Skip to content

Commit 0f6252a

Browse files
fix(tonlib): correct error messages for gen_utime checks in header verification (mode&4) (#1857)
Co-authored-by: EmelyanenkoK <[email protected]>
1 parent b118ab3 commit 0f6252a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tonlib/tonlib/TonlibClient.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5983,10 +5983,10 @@ td::Status check_lookup_block_proof(lite_api_ptr<ton::lite_api::liteServer_looku
59835983
}
59845984
} else if (mode & 4) {
59855985
if (prev_info.gen_utime > utime) {
5986-
return td::Status::Error("prev header end_lt > lt");
5986+
return td::Status::Error("prev header gen_utime > utime");
59875987
}
59885988
if (info.gen_utime < utime) {
5989-
return td::Status::Error("header end_lt < lt");
5989+
return td::Status::Error("header gen_utime < utime");
59905990
}
59915991
}
59925992
}

0 commit comments

Comments
 (0)