eosio multi index secondary index
voting::identity_index identities(_self, _self.value);
auto idx = identities.get_index<"byhash"_n>();
auto itr = idx.find(out);
eosio_assert(itr == identities.end(), "User already registered to vote!");
eosio multi index secondary index
voting::identity_index identities(_self, _self.value);
auto idx = identities.get_index<"byhash"_n>();
auto itr = idx.find(out);
eosio_assert(itr == identities.end(), "User already registered to vote!");
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us