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 #1111 from brianjohnson5972/376-account-history-sc…
Browse files Browse the repository at this point in the history
…ope-refactor-fix

DAWN-376 account history scope refactor fix
  • Loading branch information
heifner authored Jan 16, 2018
2 parents 3fbdd40 + 5e3c22a commit 537871c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/chain/include/eosio/chain/block.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ namespace eosio { namespace chain {
};

struct block_trace {
block_trace(const signed_block& s)
explicit block_trace(const signed_block& s)
:block(s)
{}

Expand Down
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 @@ -467,7 +467,7 @@ void account_history_plugin::plugin_startup()
db.add_index<transaction_history_multi_index>();

my->chain_plug->chain().applied_block.connect ([&impl = my](const chain::block_trace& trace) {
impl->applied_block(trace.block);
impl->applied_block(trace);
});
}

Expand Down

0 comments on commit 537871c

Please sign in to comment.