remove unneeded optimization: m_data_callback is called multiple times (for every reply) so asking ourselves doesn't hurt.

this might fix the assertion which is failing on observer destructor.
This commit is contained in:
Miguel Freitas 2013-10-28 19:01:13 -02:00
parent 40803b910c
commit d363d2f788

View File

@ -206,10 +206,6 @@ bool find_data::invoke(observer_ptr o)
return false;
}
// im not going to ask trackers from myself
if( o->id() == m_node.nid() )
return false;
entry e;
e["z"] = "q";
e["q"] = "getData"; // "getPeers"