diff --git a/libraries/chain/db_init.cpp b/libraries/chain/db_init.cpp index 9c90bf4c..7096a2fa 100644 --- a/libraries/chain/db_init.cpp +++ b/libraries/chain/db_init.cpp @@ -518,7 +518,6 @@ void database::init_genesis(const genesis_state_type& genesis_state) const auto& accounts_by_name = get_index_type().indices().get(); auto get_account_id = [&accounts_by_name](const string& name) { auto itr = accounts_by_name.find(name); - if (itr == accounts_by_name.end()) return GRAPHENE_NULL_ACCOUNT; FC_ASSERT(itr != accounts_by_name.end(), "Unable to find account '${acct}'. Did you forget to add a record for it to initial_accounts?", ("acct", name));