diff --git a/libraries/app/api.cpp b/libraries/app/api.cpp index 60a44af0..a5130cf2 100644 --- a/libraries/app/api.cpp +++ b/libraries/app/api.cpp @@ -1135,15 +1135,15 @@ namespace graphene { namespace app { trx.get_required_signatures( _db.get_chain_id(), flat_set(), [&]( account_id_type id ){ - const auto& auth = &id(_db).active + const auto& auth = id(_db).active; for( const auto& k : auth.get_keys() ) - result.insert(k) + result.insert(k); return &auth; }, [&]( account_id_type id ){ - const auto& auth = &id(_db).owner + const auto& auth = id(_db).owner; for( const auto& k : auth.get_keys() ) - result.insert(k) - return &auth; }, + result.insert(k); + return &auth; }, _db.get_global_properties().parameters.max_authority_depth );