{"action":"created","issue":{"url":"https://api.github.com/repos/stratisproject/StratisBitcoinFullNode/issues/1198","repository_url":"https://api.github.com/repos/stratisproject/StratisBitcoinFullNode","labels_url":"https://api.github.com/repos/stratisproject/StratisBitcoinFullNode/issues/1198/labels{/name}","comments_url":"https://api.github.com/repos/stratisproject/StratisBitcoinFullNode/issues/1198/comments","events_url":"https://api.github.com/repos/stratisproject/StratisBitcoinFullNode/issues/1198/events","html_url":"https://github.com/stratisproject/StratisBitcoinFullNode/pull/1198","id":304461756,"number":1198,"title":"Fix for wrong height reward calculation","user":{"login":"stepkillah","id":10140906,"avatar_url":"https://avatars2.githubusercontent.com/u/10140906?v=4","gravatar_id":"","url":"https://api.github.com/users/stepkillah","html_url":"https://github.com/stepkillah","followers_url":"https://api.github.com/users/stepkillah/followers","following_url":"https://api.github.com/users/stepkillah/following{/other_user}","gists_url":"https://api.github.com/users/stepkillah/gists{/gist_id}","starred_url":"https://api.github.com/users/stepkillah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stepkillah/subscriptions","organizations_url":"https://api.github.com/users/stepkillah/orgs","repos_url":"https://api.github.com/users/stepkillah/repos","events_url":"https://api.github.com/users/stepkillah/events{/privacy}","received_events_url":"https://api.github.com/users/stepkillah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-12T17:11:00Z","updated_at":"2018-03-13T10:24:25Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/stratisproject/StratisBitcoinFullNode/pulls/1198","html_url":"https://github.com/stratisproject/StratisBitcoinFullNode/pull/1198","diff_url":"https://github.com/stratisproject/StratisBitcoinFullNode/pull/1198.diff","patch_url":"https://github.com/stratisproject/StratisBitcoinFullNode/pull/1198.patch"},"body":"Hi, it's my first commit to this repo, let me know if something wrong. This problem occurs when I'm tried to create a private PoW/PoS chain with different parameters.\r\nNot sure if this is correct, but `PosMinting` calculate the reward for current blockchain height (let's say `N`), but when it validates reward in `PosConesnsusValidator` -> `CheckBlockReward` method - its uses newly created block height (`N+1`). As far as Stratis has a constant reward for PoS - 1 coin, it will work properly, but in case if reward depends on the block - it probably won't work"},"comment":{"url":"https://api.github.com/repos/stratisproject/StratisBitcoinFullNode/issues/comments/372617255","html_url":"https://github.com/stratisproject/StratisBitcoinFullNode/pull/1198#issuecomment-372617255","issue_url":"https://api.github.com/repos/stratisproject/StratisBitcoinFullNode/issues/1198","id":372617255,"user":{"login":"bokobza","id":1867877,"avatar_url":"https://avatars3.githubusercontent.com/u/1867877?v=4","gravatar_id":"","url":"https://api.github.com/users/bokobza","html_url":"https://github.com/bokobza","followers_url":"https://api.github.com/users/bokobza/followers","following_url":"https://api.github.com/users/bokobza/following{/other_user}","gists_url":"https://api.github.com/users/bokobza/gists{/gist_id}","starred_url":"https://api.github.com/users/bokobza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bokobza/subscriptions","organizations_url":"https://api.github.com/users/bokobza/orgs","repos_url":"https://api.github.com/users/bokobza/repos","events_url":"https://api.github.com/users/bokobza/events{/privacy}","received_events_url":"https://api.github.com/users/bokobza/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T10:24:25Z","updated_at":"2018-03-13T10:24:25Z","author_association":"CONTRIBUTOR","body":"Good stuff @stepkillah, thank you!"}}
{"actor":{"display_login":"bokobza"}}