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

Commit

Permalink
Merge pull request #5481 from EOSIO/gh#5447-hang
Browse files Browse the repository at this point in the history
Apply all pending incoming transactions, even if not producing.
  • Loading branch information
heifner authored Aug 30, 2018
2 parents e87d245 + 3947e68 commit 9a56222
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 @@ -1112,7 +1112,7 @@ producer_plugin_impl::start_block_result producer_plugin_impl::start_block(bool
} else {
// attempt to apply any pending incoming transactions
_incoming_trx_weight = 0.0;
if (orig_pending_txn_size && _pending_incoming_transactions.size()) {
while (orig_pending_txn_size && _pending_incoming_transactions.size()) {
auto e = _pending_incoming_transactions.front();
_pending_incoming_transactions.pop_front();
--orig_pending_txn_size;
Expand Down

0 comments on commit 9a56222

Please sign in to comment.