cc: rename settlement coin to Townforge genesis coin

This commit is contained in:
Crypto City 2020-09-14 13:33:41 +00:00
parent 084efbe012
commit 3d8c457635

View File

@ -1667,7 +1667,7 @@ bool add_init_state(cryptonote::BlockchainDB &db)
return false;
}
std::string name, desc;
uint32_t coin_settlement_id = db.allocate_new_cc_custom_item(0, GAME_ACCOUNT, 0, "Settlement coin", false, false, COINS_ITEM_GROUP, "Issued to remember the first settlement", "", MAKE_COLLECTIBLE_COIN_EVENT_USER_DATA());
uint32_t coin_settlement_id = db.allocate_new_cc_custom_item(0, GAME_ACCOUNT, 0, "Townforge genesis coin", false, false, COINS_ITEM_GROUP, "Issued to celebrate the birth of Townforge", "", MAKE_COLLECTIBLE_COIN_EVENT_USER_DATA());
if (coin_settlement_id != COIN_ITEM_SETTLEMENT)
{
MERROR("Failed to setup settlement coin");