diff --git a/libraries/chain/db_maint.cpp b/libraries/chain/db_maint.cpp index 632415ce..d6f830ea 100644 --- a/libraries/chain/db_maint.cpp +++ b/libraries/chain/db_maint.cpp @@ -804,7 +804,7 @@ void database::update_active_sons() // Compare current and to-be lists of active sons - const auto& cur_active_sons = gpo.active_sons; + const auto cur_active_sons = gpo.active_sons; flat_map > new_active_sons; const auto &acc = get(gpo.parameters.son_account()); for( const auto& sidechain_sons : sons ){