Skip to content

Commit b788322

Browse files
committed
Fix setting block hashes in session stats
1 parent b4cf0ff commit b788322

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

validator-session/validator-session.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,6 +1240,9 @@ void ValidatorSessionImpl::stats_process_action(td::uint32 node_id, ton_api::val
12401240
obj.round_, description().get_source_id(node_id), candidate_id);
12411241
if (stat && stat->got_submit_at <= 0.0) {
12421242
stat->got_submit_at = td::Clocks::system();
1243+
stat->block_id.root_hash = obj.root_hash_;
1244+
stat->block_id.file_hash = obj.file_hash_;
1245+
stat->collated_data_hash = obj.collated_data_file_hash_;
12431246
}
12441247
},
12451248
[&](const ton_api::validatorSession_message_approvedBlock &obj) {

0 commit comments

Comments
 (0)