-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See github.com/EOSIO/eos/pull/7437
- Loading branch information
Matthieu Vachon
committed
May 30, 2019
1 parent
b783f4a
commit 2c73748
Showing
3 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
patches/github.com-eosio-eos-91c7912b62eabbf0d42bebf6ecdbba009d15f5f9.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/plugins/producer_plugin/producer_plugin.cpp b/plugins/producer_plugin/producer_plugin.cpp | ||
index 044caa2757..ab9f5c8aa9 100644 | ||
--- a/plugins/producer_plugin/producer_plugin.cpp | ||
+++ b/plugins/producer_plugin/producer_plugin.cpp | ||
@@ -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())) |