Skip to content

Commit c0f8837

Browse files
committed
Add a comment about highest block number
1 parent 9bfa82e commit c0f8837

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/trace_api_plugin/store_provider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ namespace eosio::trace_api {
136136
} else if (std::holds_alternative<lib_entry_v0>(entry)) {
137137
auto lib = std::get<lib_entry_v0>(entry).lib;
138138
if (!trx_block_nums.empty() && lib >= *(--trx_block_nums.end())) {
139-
return *(--trx_block_nums.end());
139+
return *(--trx_block_nums.end()); // *(--trx_block_nums.end()) is the block with highest block number which is final
140140
}
141141
} else {
142142
FC_ASSERT( false, "unpacked data should be a block_trxs_entry or a lib_entry_v0" );;

0 commit comments

Comments
 (0)