SON206 - Plugin SON Heartbeat changes, comment removal

This commit is contained in:
satyakoneru 2019-12-18 12:55:53 +00:00
parent d893351d0e
commit e7e2be7146

View file

@ -154,7 +154,6 @@ void peerplays_sidechain_plugin::heartbeat_loop()
auto it = std::find(gpo.active_sons.begin(), gpo.active_sons.end(), son_id);
if(it != gpo.active_sons.end()) {
chain::son_heartbeat_operation op;
//const chain::son_object& son_obj = son_id(d);
const auto& idx = d.get_index_type<chain::son_index>().indices().get<by_id>();
auto son_obj = idx.find( son_id );
op.owner_account = son_obj->son_account;