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

Commit

Permalink
Merge pull request #6220 from EOSIO/fix-history-deferred
Browse files Browse the repository at this point in the history
failed deferred transactions were in history (6214)
  • Loading branch information
tbfleming authored Nov 2, 2018
2 parents b7a3400 + 7a8eec4 commit e0cb96c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/history_plugin/history_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,9 @@ namespace eosio {
}

void on_applied_transaction( const transaction_trace_ptr& trace ) {
if( !trace->receipt || (trace->receipt->status != transaction_receipt_header::executed &&
trace->receipt->status != transaction_receipt_header::soft_fail) )
return;
for( const auto& atrace : trace->action_traces ) {
on_action_trace( atrace );
}
Expand Down

0 comments on commit e0cb96c

Please sign in to comment.