diff --git a/libraries/chain/db_debug.cpp b/libraries/chain/db_debug.cpp index 34f12b58..34b37265 100644 --- a/libraries/chain/db_debug.cpp +++ b/libraries/chain/db_debug.cpp @@ -73,7 +73,7 @@ void database::debug_dump() total_balances[asset_obj.id] += asset_obj.dynamic_asset_data_id(db).accumulated_fees; total_balances[asset_id_type()] += asset_obj.dynamic_asset_data_id(db).fee_pool; } - for( const witness_object& witness_obj : db.get_index_type>() ) + for( const witness_object& witness_obj : db.get_index_type().indices() ) { //idump((witness_obj)); total_balances[asset_id_type()] += witness_obj.accumulated_income;