We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bfa82e commit c0f8837Copy full SHA for c0f8837
plugins/trace_api_plugin/store_provider.cpp
@@ -136,7 +136,7 @@ namespace eosio::trace_api {
136
} else if (std::holds_alternative<lib_entry_v0>(entry)) {
137
auto lib = std::get<lib_entry_v0>(entry).lib;
138
if (!trx_block_nums.empty() && lib >= *(--trx_block_nums.end())) {
139
- return *(--trx_block_nums.end());
+ return *(--trx_block_nums.end()); // *(--trx_block_nums.end()) is the block with highest block number which is final
140
}
141
} else {
142
FC_ASSERT( false, "unpacked data should be a block_trxs_entry or a lib_entry_v0" );;
0 commit comments