From 830555d1412e2a19c744b243ad3a46b4d1cdc4d9 Mon Sep 17 00:00:00 2001 From: abitmore Date: Fri, 28 Oct 2022 13:43:43 +0000 Subject: [PATCH] Declare database_api::get_full_accounts() as const --- libraries/app/database_api.cpp | 2 +- libraries/app/include/graphene/app/database_api.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/app/database_api.cpp b/libraries/app/database_api.cpp index dfb1bac07..01b695a8a 100644 --- a/libraries/app/database_api.cpp +++ b/libraries/app/database_api.cpp @@ -514,7 +514,7 @@ vector> database_api_impl::get_accounts( const vector> database_api::get_full_accounts( const vector& names_or_ids, - const optional& subscribe ) + const optional& subscribe )const { return my->get_full_accounts( names_or_ids, subscribe ); } diff --git a/libraries/app/include/graphene/app/database_api.hpp b/libraries/app/include/graphene/app/database_api.hpp index b101dc84f..479b0a054 100644 --- a/libraries/app/include/graphene/app/database_api.hpp +++ b/libraries/app/include/graphene/app/database_api.hpp @@ -308,7 +308,7 @@ class database_api */ map> get_full_accounts( const vector& names_or_ids, - const optional& subscribe = optional() ); + const optional& subscribe = optional() )const; /** * @brief Returns vector of voting power sorted by reverse vp_active