Skip to content

Commit e169659

Browse files
committed
Blockchain explorer: fix search by utime
1 parent c48413a commit e169659

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blockchain-explorer/blockchain-explorer-query.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,8 +525,8 @@ HttpQueryBlockSearch::HttpQueryBlockSearch(std::map<std::string, std::string> op
525525
}
526526
if (opts.count("utime") == 1) {
527527
try {
528-
seqno_ = static_cast<td::uint32>(std::stoull(opts["utime"]));
529-
mode_ = 1;
528+
utime_ = static_cast<td::uint32>(std::stoull(opts["utime"]));
529+
mode_ = 4;
530530
} catch (...) {
531531
error_ = td::Status::Error("cannot parse utime");
532532
return;

0 commit comments

Comments
 (0)