{"action":"opened","issue":{"url":"https://api.github.com/repos/monero-project/bitmonero/issues/747","repository_url":"https://api.github.com/repos/monero-project/bitmonero","labels_url":"https://api.github.com/repos/monero-project/bitmonero/issues/747/labels{/name}","comments_url":"https://api.github.com/repos/monero-project/bitmonero/issues/747/comments","events_url":"https://api.github.com/repos/monero-project/bitmonero/issues/747/events","html_url":"https://github.com/monero-project/bitmonero/issues/747","id":142690183,"number":747,"title":"Unnamed constant in construct_miner_tx invocation in blockchain.cpp","user":{"login":"tewinget","id":5104870,"avatar_url":"https://avatars.githubusercontent.com/u/5104870?v=3","gravatar_id":"","url":"https://api.github.com/users/tewinget","html_url":"https://github.com/tewinget","followers_url":"https://api.github.com/users/tewinget/followers","following_url":"https://api.github.com/users/tewinget/following{/other_user}","gists_url":"https://api.github.com/users/tewinget/gists{/gist_id}","starred_url":"https://api.github.com/users/tewinget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tewinget/subscriptions","organizations_url":"https://api.github.com/users/tewinget/orgs","repos_url":"https://api.github.com/users/tewinget/repos","events_url":"https://api.github.com/users/tewinget/events{/privacy}","received_events_url":"https://api.github.com/users/tewinget/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-22T15:43:07Z","updated_at":"2016-03-22T15:43:07Z","closed_at":null,"body":"https://github.com/monero-project/bitmonero/blob/master/src/cryptonote_core/blockchain.cpp#L1111\r\nhttps://github.com/monero-project/bitmonero/blob/master/src/cryptonote_core/blockchain.cpp#L1120\r\n\r\nconstruct_miner_tx is passed a parameter it calls \"max_outs\" which appears to be a limit to the number of digits an output amount should have.  The lines referenced above use a hard-coded amount (11) which should instead be a named constant."}}