{"action":"created","comment":{"url":"https://api.github.com/repos/GenesisKernel/go-genesis/pulls/comments/166525144","pull_request_review_id":94599038,"id":166525144,"diff_hunk":"@@ -1136,7 +1136,11 @@ If(\"#key_id#\" == EcosysParam(\"founder_account\")){\n \t\t}\n \t\taction {\n \t\t\tDBUpdate(\"keys\", $key_id,\"-amount\", $amount)\n-\t\t\tDBUpdate(\"keys\", $recipient,\"+amount\", $amount)\n+\t\t\tif DBFind(\"keys\").Columns(\"id\").WhereId($recipient).One(\"id\") == nil {","path":"packages/migration/ecosysystem.go","position":5,"original_position":5,"commit_id":"57d53dafd6fb9163869371ac8e76aee944dd61be","original_commit_id":"57d53dafd6fb9163869371ac8e76aee944dd61be","user":{"login":"dvork1ng","id":5720227,"avatar_url":"https://avatars0.githubusercontent.com/u/5720227?v=4","gravatar_id":"","url":"https://api.github.com/users/dvork1ng","html_url":"https://github.com/dvork1ng","followers_url":"https://api.github.com/users/dvork1ng/followers","following_url":"https://api.github.com/users/dvork1ng/following{/other_user}","gists_url":"https://api.github.com/users/dvork1ng/gists{/gist_id}","starred_url":"https://api.github.com/users/dvork1ng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvork1ng/subscriptions","organizations_url":"https://api.github.com/users/dvork1ng/orgs","repos_url":"https://api.github.com/users/dvork1ng/repos","events_url":"https://api.github.com/users/dvork1ng/events{/privacy}","received_events_url":"https://api.github.com/users/dvork1ng/received_events","type":"User","site_admin":false},"body":"all db requests should be in models pacakge","created_at":"2018-02-07T06:00:47Z","updated_at":"2018-02-07T06:00:52Z","html_url":"https://github.com/GenesisKernel/go-genesis/pull/162#discussion_r166525144","pull_request_url":"https://api.github.com/repos/GenesisKernel/go-genesis/pulls/162","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/GenesisKernel/go-genesis/pulls/comments/166525144"},"html":{"href":"https://github.com/GenesisKernel/go-genesis/pull/162#discussion_r166525144"},"pull_request":{"href":"https://api.github.com/repos/GenesisKernel/go-genesis/pulls/162"}}},"pull_request":{"url":"https://api.github.com/repos/GenesisKernel/go-genesis/pulls/162","id":167459789,"html_url":"https://github.com/GenesisKernel/go-genesis/pull/162","diff_url":"https://github.com/GenesisKernel/go-genesis/pull/162.diff","patch_url":"https://github.com/GenesisKernel/go-genesis/pull/162.patch","issue_url":"https://api.github.com/repos/GenesisKernel/go-genesis/issues/162","number":162,"state":"open","locked":false,"title":"418 dbupdate","user":{"login":"gentee","id":2069001,"avatar_url":"https://avatars3.githubusercontent.com/u/2069001?v=4","gravatar_id":"","url":"https://api.github.com/users/gentee","html_url":"https://github.com/gentee","followers_url":"https://api.github.com/users/gentee/followers","following_url":"https://api.github.com/users/gentee/following{/other_user}","gists_url":"https://api.github.com/users/gentee/gists{/gist_id}","starred_url":"https://api.github.com/users/gentee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gentee/subscriptions","organizations_url":"https://api.github.com/users/gentee/orgs","repos_url":"https://api.github.com/users/gentee/repos","events_url":"https://api.github.com/users/gentee/events{/privacy}","received_events_url":"https://api.github.com/users/gentee/received_events","type":"User","site_admin":false},"body":"Fixed DBUpdate and MoneyTransfer","created_at":"2018-02-06T16:17:41Z","updated_at":"2018-02-07T06:00:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"320d5249611e9f4e10ba754cdf48cd22694a703a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/GenesisKernel/go-genesis/pulls/162/commits","review_comments_url":"https://api.github.com/repos/GenesisKernel/go-genesis/pulls/162/comments","review_comment_url":"https://api.github.com/repos/GenesisKernel/go-genesis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GenesisKernel/go-genesis/issues/162/comments","statuses_url":"https://api.github.com/repos/GenesisKernel/go-genesis/statuses/57d53dafd6fb9163869371ac8e76aee944dd61be","head":{"label":"GenesisKernel:418-dbupdate","ref":"418-dbupdate","sha":"57d53dafd6fb9163869371ac8e76aee944dd61be","user":{"login":"GenesisKernel","id":35408997,"avatar_url":"https://avatars2.githubusercontent.com/u/35408997?v=4","gravatar_id":"","url":"https://api.github.com/users/GenesisKernel","html_url":"https://github.com/GenesisKernel","followers_url":"https://api.github.com/users/GenesisKernel/followers","following_url":"https://api.github.com/users/GenesisKernel/following{/other_user}","gists_url":"https://api.github.com/users/GenesisKernel/gists{/gist_id}","starred_url":"https://api.github.com/users/GenesisKernel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GenesisKernel/subscriptions","organizations_url":"https://api.github.com/users/GenesisKernel/orgs","repos_url":"https://api.github.com/users/GenesisKernel/repos","events_url":"https://api.github.com/users/GenesisKernel/events{/privacy}","received_events_url":"https://api.github.com/users/GenesisKernel/received_events","type":"Organization","site_admin":false},"repo":{"id":101977373,"name":"go-genesis","full_name":"GenesisKernel/go-genesis","owner":{"login":"GenesisKernel","id":35408997,"avatar_url":"https://avatars2.githubusercontent.com/u/35408997?v=4","gravatar_id":"","url":"https://api.github.com/users/GenesisKernel","html_url":"https://github.com/GenesisKernel","followers_url":"https://api.github.com/users/GenesisKernel/followers","following_url":"https://api.github.com/users/GenesisKernel/following{/other_user}","gists_url":"https://api.github.com/users/GenesisKernel/gists{/gist_id}","starred_url":"https://api.github.com/users/GenesisKernel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GenesisKernel/subscriptions","organizations_url":"https://api.github.com/users/GenesisKernel/orgs","repos_url":"https://api.github.com/users/GenesisKernel/repos","events_url":"https://api.github.com/users/GenesisKernel/events{/privacy}","received_events_url":"https://api.github.com/users/GenesisKernel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GenesisKernel/go-genesis","description":"Public blockchain platform for building digital ecosystems","fork":false,"url":"https://api.github.com/repos/GenesisKernel/go-genesis","forks_url":"https://api.github.com/repos/GenesisKernel/go-genesis/forks","keys_url":"https://api.github.com/repos/GenesisKernel/go-genesis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GenesisKernel/go-genesis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GenesisKernel/go-genesis/teams","hooks_url":"https://api.github.com/repos/GenesisKernel/go-genesis/hooks","issue_events_url":"https://api.github.com/repos/GenesisKernel/go-genesis/issues/events{/number}","events_url":"https://api.github.com/repos/GenesisKernel/go-genesis/events","assignees_url":"https://api.github.com/repos/GenesisKernel/go-genesis/assignees{/user}","branches_url":"https://api.github.com/repos/GenesisKernel/go-genesis/branches{/branch}","tags_url":"https://api.github.com/repos/GenesisKernel/go-genesis/tags","blobs_url":"https://api.github.com/repos/GenesisKernel/go-genesis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GenesisKernel/go-genesis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GenesisKernel/go-genesis/git/refs{/sha}","trees_url":"https://api.github.com/repos/GenesisKernel/go-genesis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GenesisKernel/go-genesis/statuses/{sha}","languages_url":"https://api.github.com/repos/GenesisKernel/go-genesis/languages","stargazers_url":"https://api.github.com/repos/GenesisKernel/go-genesis/stargazers","contributors_url":"https://api.github.com/repos/GenesisKernel/go-genesis/contributors","subscribers_url":"https://api.github.com/repos/GenesisKernel/go-genesis/subscribers","subscription_url":"https://api.github.com/repos/GenesisKernel/go-genesis/subscription","commits_url":"https://api.github.com/repos/GenesisKernel/go-genesis/commits{/sha}","git_commits_url":"https://api.github.com/repos/GenesisKernel/go-genesis/git/commits{/sha}","comments_url":"https://api.github.com/repos/GenesisKernel/go-genesis/comments{/number}","issue_comment_url":"https://api.github.com/repos/GenesisKernel/go-genesis/issues/comments{/number}","contents_url":"https://api.github.com/repos/GenesisKernel/go-genesis/contents/{+path}","compare_url":"https://api.github.com/repos/GenesisKernel/go-genesis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GenesisKernel/go-genesis/merges","archive_url":"https://api.github.com/repos/GenesisKernel/go-genesis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GenesisKernel/go-genesis/downloads","issues_url":"https://api.github.com/repos/GenesisKernel/go-genesis/issues{/number}","pulls_url":"https://api.github.com/repos/GenesisKernel/go-genesis/pulls{/number}","milestones_url":"https://api.github.com/repos/GenesisKernel/go-genesis/milestones{/number}","notifications_url":"https://api.github.com/repos/GenesisKernel/go-genesis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GenesisKernel/go-genesis/labels{/name}","releases_url":"https://api.github.com/repos/GenesisKernel/go-genesis/releases{/id}","deployments_url":"https://api.github.com/repos/GenesisKernel/go-genesis/deployments","created_at":"2017-08-31T08:21:05Z","updated_at":"2018-02-07T05:43:17Z","pushed_at":"2018-02-07T05:50:28Z","git_url":"git://github.com/GenesisKernel/go-genesis.git","ssh_url":"git@github.com:GenesisKernel/go-genesis.git","clone_url":"https://github.com/GenesisKernel/go-genesis.git","svn_url":"https://github.com/GenesisKernel/go-genesis","homepage":"","size":111685,"stargazers_count":39,"watchers_count":39,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":17,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":7,"open_issues":17,"watchers":39,"default_branch":"master"}},"base":{"label":"GenesisKernel:develop","ref":"develop","sha":"e8a39b8865b2c835c9b3734fa564b9fc2a48db2e","user":{"login":"GenesisKernel","id":35408997,"avatar_url":"https://avatars2.githubusercontent.com/u/35408997?v=4","gravatar_id":"","url":"https://api.github.com/users/GenesisKernel","html_url":"https://github.com/GenesisKernel","followers_url":"https://api.github.com/users/GenesisKernel/followers","following_url":"https://api.github.com/users/GenesisKernel/following{/other_user}","gists_url":"https://api.github.com/users/GenesisKernel/gists{/gist_id}","starred_url":"https://api.github.com/users/GenesisKernel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GenesisKernel/subscriptions","organizations_url":"https://api.github.com/users/GenesisKernel/orgs","repos_url":"https://api.github.com/users/GenesisKernel/repos","events_url":"https://api.github.com/users/GenesisKernel/events{/privacy}","received_events_url":"https://api.github.com/users/GenesisKernel/received_events","type":"Organization","site_admin":false},"repo":{"id":101977373,"name":"go-genesis","full_name":"GenesisKernel/go-genesis","owner":{"login":"GenesisKernel","id":35408997,"avatar_url":"https://avatars2.githubusercontent.com/u/35408997?v=4","gravatar_id":"","url":"https://api.github.com/users/GenesisKernel","html_url":"https://github.com/GenesisKernel","followers_url":"https://api.github.com/users/GenesisKernel/followers","following_url":"https://api.github.com/users/GenesisKernel/following{/other_user}","gists_url":"https://api.github.com/users/GenesisKernel/gists{/gist_id}","starred_url":"https://api.github.com/users/GenesisKernel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GenesisKernel/subscriptions","organizations_url":"https://api.github.com/users/GenesisKernel/orgs","repos_url":"https://api.github.com/users/GenesisKernel/repos","events_url":"https://api.github.com/users/GenesisKernel/events{/privacy}","received_events_url":"https://api.github.com/users/GenesisKernel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GenesisKernel/go-genesis","description":"Public blockchain platform for building digital ecosystems","fork":false,"url":"https://api.github.com/repos/GenesisKernel/go-genesis","forks_url":"https://api.github.com/repos/GenesisKernel/go-genesis/forks","keys_url":"https://api.github.com/repos/GenesisKernel/go-genesis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GenesisKernel/go-genesis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GenesisKernel/go-genesis/teams","hooks_url":"https://api.github.com/repos/GenesisKernel/go-genesis/hooks","issue_events_url":"https://api.github.com/repos/GenesisKernel/go-genesis/issues/events{/number}","events_url":"https://api.github.com/repos/GenesisKernel/go-genesis/events","assignees_url":"https://api.github.com/repos/GenesisKernel/go-genesis/assignees{/user}","branches_url":"https://api.github.com/repos/GenesisKernel/go-genesis/branches{/branch}","tags_url":"https://api.github.com/repos/GenesisKernel/go-genesis/tags","blobs_url":"https://api.github.com/repos/GenesisKernel/go-genesis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GenesisKernel/go-genesis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GenesisKernel/go-genesis/git/refs{/sha}","trees_url":"https://api.github.com/repos/GenesisKernel/go-genesis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GenesisKernel/go-genesis/statuses/{sha}","languages_url":"https://api.github.com/repos/GenesisKernel/go-genesis/languages","stargazers_url":"https://api.github.com/repos/GenesisKernel/go-genesis/stargazers","contributors_url":"https://api.github.com/repos/GenesisKernel/go-genesis/contributors","subscribers_url":"https://api.github.com/repos/GenesisKernel/go-genesis/subscribers","subscription_url":"https://api.github.com/repos/GenesisKernel/go-genesis/subscription","commits_url":"https://api.github.com/repos/GenesisKernel/go-genesis/commits{/sha}","git_commits_url":"https://api.github.com/repos/GenesisKernel/go-genesis/git/commits{/sha}","comments_url":"https://api.github.com/repos/GenesisKernel/go-genesis/comments{/number}","issue_comment_url":"https://api.github.com/repos/GenesisKernel/go-genesis/issues/comments{/number}","contents_url":"https://api.github.com/repos/GenesisKernel/go-genesis/contents/{+path}","compare_url":"https://api.github.com/repos/GenesisKernel/go-genesis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GenesisKernel/go-genesis/merges","archive_url":"https://api.github.com/repos/GenesisKernel/go-genesis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GenesisKernel/go-genesis/downloads","issues_url":"https://api.github.com/repos/GenesisKernel/go-genesis/issues{/number}","pulls_url":"https://api.github.com/repos/GenesisKernel/go-genesis/pulls{/number}","milestones_url":"https://api.github.com/repos/GenesisKernel/go-genesis/milestones{/number}","notifications_url":"https://api.github.com/repos/GenesisKernel/go-genesis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GenesisKernel/go-genesis/labels{/name}","releases_url":"https://api.github.com/repos/GenesisKernel/go-genesis/releases{/id}","deployments_url":"https://api.github.com/repos/GenesisKernel/go-genesis/deployments","created_at":"2017-08-31T08:21:05Z","updated_at":"2018-02-07T05:43:17Z","pushed_at":"2018-02-07T05:50:28Z","git_url":"git://github.com/GenesisKernel/go-genesis.git","ssh_url":"git@github.com:GenesisKernel/go-genesis.git","clone_url":"https://github.com/GenesisKernel/go-genesis.git","svn_url":"https://github.com/GenesisKernel/go-genesis","homepage":"","size":111685,"stargazers_count":39,"watchers_count":39,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":17,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":7,"open_issues":17,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GenesisKernel/go-genesis/pulls/162"},"html":{"href":"https://github.com/GenesisKernel/go-genesis/pull/162"},"issue":{"href":"https://api.github.com/repos/GenesisKernel/go-genesis/issues/162"},"comments":{"href":"https://api.github.com/repos/GenesisKernel/go-genesis/issues/162/comments"},"review_comments":{"href":"https://api.github.com/repos/GenesisKernel/go-genesis/pulls/162/comments"},"review_comment":{"href":"https://api.github.com/repos/GenesisKernel/go-genesis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GenesisKernel/go-genesis/pulls/162/commits"},"statuses":{"href":"https://api.github.com/repos/GenesisKernel/go-genesis/statuses/57d53dafd6fb9163869371ac8e76aee944dd61be"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"dvork1ng"}}