{"action":"opened","issue":{"url":"https://api.github.com/repos/cryptonotefoundation/cryptonote/issues/263","repository_url":"https://api.github.com/repos/cryptonotefoundation/cryptonote","labels_url":"https://api.github.com/repos/cryptonotefoundation/cryptonote/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/cryptonotefoundation/cryptonote/issues/263/comments","events_url":"https://api.github.com/repos/cryptonotefoundation/cryptonote/issues/263/events","html_url":"https://github.com/cryptonotefoundation/cryptonote/issues/263","id":325028053,"number":263,"title":"Premine","user":{"login":"frankiexile","id":39350052,"avatar_url":"https://avatars2.githubusercontent.com/u/39350052?v=4","gravatar_id":"","url":"https://api.github.com/users/frankiexile","html_url":"https://github.com/frankiexile","followers_url":"https://api.github.com/users/frankiexile/followers","following_url":"https://api.github.com/users/frankiexile/following{/other_user}","gists_url":"https://api.github.com/users/frankiexile/gists{/gist_id}","starred_url":"https://api.github.com/users/frankiexile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankiexile/subscriptions","organizations_url":"https://api.github.com/users/frankiexile/orgs","repos_url":"https://api.github.com/users/frankiexile/repos","events_url":"https://api.github.com/users/frankiexile/events{/privacy}","received_events_url":"https://api.github.com/users/frankiexile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-21T19:15:34Z","updated_at":"2018-05-21T19:15:34Z","closed_at":null,"author_association":"NONE","body":"So I'm using this code here in Currency.cpp:\r\n\r\nif (alreadyGeneratedCoins == 0) {\r\n            baseReward = 1;\r\n        }\r\n\r\n        if (alreadyGeneratedCoins == 1) {\r\n            baseReward =m_moneySupply*0.10;\r\n        }\r\n\r\n     if (alreadyGeneratedCoins + baseReward >= m_moneySupply) {\r\n                baseReward = 0;\r\n            }\r\n\r\n\r\nand i wanted to set the premine to 50% of the coins so i set the basereward at the bottom to 50 because i read on another post that thats the percent. it only gave me 10 coins at the first mine. how do i properly use this code"}}
{"actor":{"display_login":"frankiexile"}}