Fixed betting tests (#217)

* Fixed betting tests

* Removed comments
This commit is contained in:
Sandip Patel 2019-11-12 00:23:14 +05:30 committed by Bobinson K B
parent e4eb3e6ce3
commit ae781e48af
2 changed files with 1 additions and 10 deletions

View file

@ -263,7 +263,7 @@ void database::initialize_indexes()
acnt_index->add_secondary_index<account_referrer_index>();
add_index< primary_index<committee_member_index, 8> >(); // 256 members per chunk
add_index< primary_index<son_index, 8> >(); // 256 sons per chunk
add_index< primary_index<son_index> >();
add_index< primary_index<witness_index, 10> >(); // 1024 witnesses per chunk
add_index< primary_index<limit_order_index > >();
add_index< primary_index<call_order_index > >();

View file

@ -402,15 +402,6 @@ namespace graphene { namespace db {
DerivedIndex::remove(obj);
}
virtual const object& insert( object&& obj )override
{
const auto& res = DerivedIndex::insert(std::move(obj));
for( const auto& item : _sindex )
item->object_inserted( res );
on_add(res);
return res;
}
virtual void modify( const object& obj, const std::function<void(object&)>& m )override
{
save_undo( obj );