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 #4146 from wanderingbort/feature/4145-dropping-una…
Browse files Browse the repository at this point in the history
…pplied-transactions

Fix reversed inequality for expiration checks
  • Loading branch information
b1bart authored Jun 15, 2018
2 parents a6c3e9c + 45be28a commit 013c282
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 @@ -838,7 +838,7 @@ producer_plugin_impl::start_block_result producer_plugin_impl::start_block() {
continue;
}

if (trx->packed_trx.expiration() > pbs->header.timestamp.to_time_point()) {
if (trx->packed_trx.expiration() < pbs->header.timestamp.to_time_point()) {
// expired, drop it
chain.drop_unapplied_transaction(trx);
continue;
Expand Down

0 comments on commit 013c282

Please sign in to comment.