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

376 migration ofr account history plugin needs gcc fix #1074

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion plugins/account_history_plugin/account_history_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,8 @@ bool account_history_plugin_impl::is_scope_relevant(const vector<account_name>&

fc::variant account_history_plugin_impl::transaction_to_variant(const signed_transaction& txn) const
{
auto resolver = [&database = chain_plug->chain().get_database()]( const account_name& name ) -> optional<abi_serializer> {
const chainbase::database& database = chain_plug->chain().get_database();
auto resolver = [&database]( const account_name& name ) -> optional<abi_serializer> {
const auto* accnt = database.find<chain::account_object,chain::by_name>( name );
if (accnt != nullptr) {
abi_def abi;
Expand Down