#235 Delete temp obj
This commit is contained in:
parent
2cb4705374
commit
a685a63453
1 changed files with 0 additions and 1 deletions
|
|
@ -171,7 +171,6 @@ fc::variants bookie_api_impl::get_objects(const vector<object_id_type>& ids) con
|
||||||
const auto &idx = db->get_index_type<bet_object_index>();
|
const auto &idx = db->get_index_type<bet_object_index>();
|
||||||
const auto &aidx = dynamic_cast<const base_primary_index &>(idx);
|
const auto &aidx = dynamic_cast<const base_primary_index &>(idx);
|
||||||
const auto &refs = aidx.get_secondary_index<detail::persistent_bet_index>();
|
const auto &refs = aidx.get_secondary_index<detail::persistent_bet_index>();
|
||||||
auto tmp = id.as<bet_id_type>();
|
|
||||||
auto iter = refs.internal.find(id.as<bet_id_type>());
|
auto iter = refs.internal.find(id.as<bet_id_type>());
|
||||||
if (iter != refs.internal.end())
|
if (iter != refs.internal.end())
|
||||||
return iter->second.ephemeral_bet_object.to_variant();
|
return iter->second.ephemeral_bet_object.to_variant();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue