Names must now be unique.

This commit is contained in:
Daniel Larimer 2015-07-13 16:23:12 -04:00
parent 4e3d75cb05
commit 8faec763c8

View file

@ -310,7 +310,7 @@ namespace graphene { namespace chain {
account_object,
indexed_by<
hashed_unique< tag<by_id>, member< object, object_id_type, &object::id > >,
ordered_non_unique< tag<by_name>, member<account_object, string, &account_object::name> >
ordered_unique< tag<by_name>, member<account_object, string, &account_object::name> >
>
> account_multi_index_type;