Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #7437 from EOSIO/gh7436-sigsegv
Browse files Browse the repository at this point in the history
Fix #7436 SIGSEGV
  • Loading branch information
heifner committed May 30, 2019
2 parents b30c0b6 + 91c7912 commit 68c3c7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/producer_plugin/producer_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1493,7 +1493,7 @@ producer_plugin_impl::start_block_result producer_plugin_impl::start_block() {

if( preprocess_deadline <= fc::time_point::now() ) exhausted = true;
if( exhausted ) break;
const auto& trx = itr->second;
const transaction_metadata_ptr trx = itr->second;
auto category = calculate_transaction_category(trx);
if (category == tx_category::EXPIRED ||
(category == tx_category::UNEXPIRED_UNPERSISTED && _producers.empty()))
Expand Down

0 comments on commit 68c3c7a

Please sign in to comment.