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

Commit

Permalink
Added plugins to cmake and removed unintended commit
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjohnson5972 committed Aug 4, 2017
1 parent 991165e commit 65c1ceb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ add_subdirectory(database_plugin)
add_subdirectory(chain_plugin)
add_subdirectory(chain_api_plugin)
add_subdirectory(producer_plugin)
add_subdirectory(account_history_plugin)
add_subdirectory(account_history_api_plugin)
2 changes: 1 addition & 1 deletion plugins/account_history_plugin/account_history_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ProcessedTransaction account_history_plugin_impl::get_transaction(const chain::t
auto itr = by_trx_idx.find( transaction_id );
if( itr != by_trx_idx.end() )
{
auto block = chain_plug->chain().fetch_block_by_id_backwards(itr->block_id);
auto block = chain_plug->chain().fetch_block_by_id(itr->block_id);
if (block.valid())
{
for (const auto& cycle : block->cycles)
Expand Down

0 comments on commit 65c1ceb

Please sign in to comment.