{"action":"created","comment":{"url":"https://api.github.com/repos/ergoplatform/ergo/pulls/comments/240941391","pull_request_review_id":184085816,"id":240941391,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDk0MTM5MQ==","diff_hunk":"@@ -88,13 +88,13 @@ class TransactionGenerator(viewHolder: ActorRef,\n     val payloadReq: Future[Option[TransactionRequest]] = wallet.confirmedBalances().map { balances =>\n       Random.nextInt(100) match {\n         case i if i < 70 =>\n-          Some(PaymentRequest(randProposition, randAmount, None, None))\n+          Some(PaymentRequest(randProposition, math.min(randAmount, balances.balance), None, None))","path":"src/main/scala/org/ergoplatform/local/TransactionGenerator.scala","position":null,"original_position":21,"commit_id":"cd3ca1d8c816afab1566191727ef42c1d02e2ece","original_commit_id":"14d3c9728c875a098e82898e253e45cdfae9f7c7","user":{"login":"oskin1","id":29578480,"node_id":"MDQ6VXNlcjI5NTc4NDgw","avatar_url":"https://avatars0.githubusercontent.com/u/29578480?v=4","gravatar_id":"","url":"https://api.github.com/users/oskin1","html_url":"https://github.com/oskin1","followers_url":"https://api.github.com/users/oskin1/followers","following_url":"https://api.github.com/users/oskin1/following{/other_user}","gists_url":"https://api.github.com/users/oskin1/gists{/gist_id}","starred_url":"https://api.github.com/users/oskin1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oskin1/subscriptions","organizations_url":"https://api.github.com/users/oskin1/orgs","repos_url":"https://api.github.com/users/oskin1/repos","events_url":"https://api.github.com/users/oskin1/events{/privacy}","received_events_url":"https://api.github.com/users/oskin1/received_events","type":"User","site_admin":false},"body":"@catena2w, fixed.","created_at":"2018-12-12T09:42:00Z","updated_at":"2018-12-12T09:42:01Z","html_url":"https://github.com/ergoplatform/ergo/pull/568#discussion_r240941391","pull_request_url":"https://api.github.com/repos/ergoplatform/ergo/pulls/568","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/ergoplatform/ergo/pulls/comments/240941391"},"html":{"href":"https://github.com/ergoplatform/ergo/pull/568#discussion_r240941391"},"pull_request":{"href":"https://api.github.com/repos/ergoplatform/ergo/pulls/568"}},"in_reply_to_id":240935508},"pull_request":{"url":"https://api.github.com/repos/ergoplatform/ergo/pulls/568","id":237251909,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MjUxOTA5","html_url":"https://github.com/ergoplatform/ergo/pull/568","diff_url":"https://github.com/ergoplatform/ergo/pull/568.diff","patch_url":"https://github.com/ergoplatform/ergo/pull/568.patch","issue_url":"https://api.github.com/repos/ergoplatform/ergo/issues/568","number":568,"state":"open","locked":false,"title":"Boxes resolving fix","user":{"login":"catena2w","id":15503202,"node_id":"MDQ6VXNlcjE1NTAzMjAy","avatar_url":"https://avatars3.githubusercontent.com/u/15503202?v=4","gravatar_id":"","url":"https://api.github.com/users/catena2w","html_url":"https://github.com/catena2w","followers_url":"https://api.github.com/users/catena2w/followers","following_url":"https://api.github.com/users/catena2w/following{/other_user}","gists_url":"https://api.github.com/users/catena2w/gists{/gist_id}","starred_url":"https://api.github.com/users/catena2w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catena2w/subscriptions","organizations_url":"https://api.github.com/users/catena2w/orgs","repos_url":"https://api.github.com/users/catena2w/repos","events_url":"https://api.github.com/users/catena2w/events{/privacy}","received_events_url":"https://api.github.com/users/catena2w/received_events","type":"User","site_admin":false},"body":"Close #567","created_at":"2018-12-10T09:35:52Z","updated_at":"2018-12-12T09:42:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4fc7d8aec1c754067f7ca970532f2c9447a5adf5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":721365848,"node_id":"MDU6TGFiZWw3MjEzNjU4NDg=","url":"https://api.github.com/repos/ergoplatform/ergo/labels/ready%20for%20merge","name":"ready for merge","color":"0e8a16","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ergoplatform/ergo/pulls/568/commits","review_comments_url":"https://api.github.com/repos/ergoplatform/ergo/pulls/568/comments","review_comment_url":"https://api.github.com/repos/ergoplatform/ergo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ergoplatform/ergo/issues/568/comments","statuses_url":"https://api.github.com/repos/ergoplatform/ergo/statuses/cd3ca1d8c816afab1566191727ef42c1d02e2ece","head":{"label":"ergoplatform:i567","ref":"i567","sha":"cd3ca1d8c816afab1566191727ef42c1d02e2ece","user":{"login":"ergoplatform","id":27490654,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3NDkwNjU0","avatar_url":"https://avatars0.githubusercontent.com/u/27490654?v=4","gravatar_id":"","url":"https://api.github.com/users/ergoplatform","html_url":"https://github.com/ergoplatform","followers_url":"https://api.github.com/users/ergoplatform/followers","following_url":"https://api.github.com/users/ergoplatform/following{/other_user}","gists_url":"https://api.github.com/users/ergoplatform/gists{/gist_id}","starred_url":"https://api.github.com/users/ergoplatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ergoplatform/subscriptions","organizations_url":"https://api.github.com/users/ergoplatform/orgs","repos_url":"https://api.github.com/users/ergoplatform/repos","events_url":"https://api.github.com/users/ergoplatform/events{/privacy}","received_events_url":"https://api.github.com/users/ergoplatform/received_events","type":"Organization","site_admin":false},"repo":{"id":94215475,"node_id":"MDEwOlJlcG9zaXRvcnk5NDIxNTQ3NQ==","name":"ergo","full_name":"ergoplatform/ergo","private":false,"owner":{"login":"ergoplatform","id":27490654,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3NDkwNjU0","avatar_url":"https://avatars0.githubusercontent.com/u/27490654?v=4","gravatar_id":"","url":"https://api.github.com/users/ergoplatform","html_url":"https://github.com/ergoplatform","followers_url":"https://api.github.com/users/ergoplatform/followers","following_url":"https://api.github.com/users/ergoplatform/following{/other_user}","gists_url":"https://api.github.com/users/ergoplatform/gists{/gist_id}","starred_url":"https://api.github.com/users/ergoplatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ergoplatform/subscriptions","organizations_url":"https://api.github.com/users/ergoplatform/orgs","repos_url":"https://api.github.com/users/ergoplatform/repos","events_url":"https://api.github.com/users/ergoplatform/events{/privacy}","received_events_url":"https://api.github.com/users/ergoplatform/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ergoplatform/ergo","description":"Ergo protocol description & reference implementation","fork":false,"url":"https://api.github.com/repos/ergoplatform/ergo","forks_url":"https://api.github.com/repos/ergoplatform/ergo/forks","keys_url":"https://api.github.com/repos/ergoplatform/ergo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ergoplatform/ergo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ergoplatform/ergo/teams","hooks_url":"https://api.github.com/repos/ergoplatform/ergo/hooks","issue_events_url":"https://api.github.com/repos/ergoplatform/ergo/issues/events{/number}","events_url":"https://api.github.com/repos/ergoplatform/ergo/events","assignees_url":"https://api.github.com/repos/ergoplatform/ergo/assignees{/user}","branches_url":"https://api.github.com/repos/ergoplatform/ergo/branches{/branch}","tags_url":"https://api.github.com/repos/ergoplatform/ergo/tags","blobs_url":"https://api.github.com/repos/ergoplatform/ergo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ergoplatform/ergo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ergoplatform/ergo/git/refs{/sha}","trees_url":"https://api.github.com/repos/ergoplatform/ergo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ergoplatform/ergo/statuses/{sha}","languages_url":"https://api.github.com/repos/ergoplatform/ergo/languages","stargazers_url":"https://api.github.com/repos/ergoplatform/ergo/stargazers","contributors_url":"https://api.github.com/repos/ergoplatform/ergo/contributors","subscribers_url":"https://api.github.com/repos/ergoplatform/ergo/subscribers","subscription_url":"https://api.github.com/repos/ergoplatform/ergo/subscription","commits_url":"https://api.github.com/repos/ergoplatform/ergo/commits{/sha}","git_commits_url":"https://api.github.com/repos/ergoplatform/ergo/git/commits{/sha}","comments_url":"https://api.github.com/repos/ergoplatform/ergo/comments{/number}","issue_comment_url":"https://api.github.com/repos/ergoplatform/ergo/issues/comments{/number}","contents_url":"https://api.github.com/repos/ergoplatform/ergo/contents/{+path}","compare_url":"https://api.github.com/repos/ergoplatform/ergo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ergoplatform/ergo/merges","archive_url":"https://api.github.com/repos/ergoplatform/ergo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ergoplatform/ergo/downloads","issues_url":"https://api.github.com/repos/ergoplatform/ergo/issues{/number}","pulls_url":"https://api.github.com/repos/ergoplatform/ergo/pulls{/number}","milestones_url":"https://api.github.com/repos/ergoplatform/ergo/milestones{/number}","notifications_url":"https://api.github.com/repos/ergoplatform/ergo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ergoplatform/ergo/labels{/name}","releases_url":"https://api.github.com/repos/ergoplatform/ergo/releases{/id}","deployments_url":"https://api.github.com/repos/ergoplatform/ergo/deployments","created_at":"2017-06-13T13:23:11Z","updated_at":"2018-12-06T16:09:38Z","pushed_at":"2018-12-12T09:39:55Z","git_url":"git://github.com/ergoplatform/ergo.git","ssh_url":"git@github.com:ergoplatform/ergo.git","clone_url":"https://github.com/ergoplatform/ergo.git","svn_url":"https://github.com/ergoplatform/ergo","homepage":"https://ergoplatform.org/","size":31836,"stargazers_count":53,"watchers_count":53,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"archived":false,"open_issues_count":58,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":22,"open_issues":58,"watchers":53,"default_branch":"master"}},"base":{"label":"ergoplatform:master","ref":"master","sha":"34c2802a035456805959b29be2c9486db6e63c77","user":{"login":"ergoplatform","id":27490654,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3NDkwNjU0","avatar_url":"https://avatars0.githubusercontent.com/u/27490654?v=4","gravatar_id":"","url":"https://api.github.com/users/ergoplatform","html_url":"https://github.com/ergoplatform","followers_url":"https://api.github.com/users/ergoplatform/followers","following_url":"https://api.github.com/users/ergoplatform/following{/other_user}","gists_url":"https://api.github.com/users/ergoplatform/gists{/gist_id}","starred_url":"https://api.github.com/users/ergoplatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ergoplatform/subscriptions","organizations_url":"https://api.github.com/users/ergoplatform/orgs","repos_url":"https://api.github.com/users/ergoplatform/repos","events_url":"https://api.github.com/users/ergoplatform/events{/privacy}","received_events_url":"https://api.github.com/users/ergoplatform/received_events","type":"Organization","site_admin":false},"repo":{"id":94215475,"node_id":"MDEwOlJlcG9zaXRvcnk5NDIxNTQ3NQ==","name":"ergo","full_name":"ergoplatform/ergo","private":false,"owner":{"login":"ergoplatform","id":27490654,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3NDkwNjU0","avatar_url":"https://avatars0.githubusercontent.com/u/27490654?v=4","gravatar_id":"","url":"https://api.github.com/users/ergoplatform","html_url":"https://github.com/ergoplatform","followers_url":"https://api.github.com/users/ergoplatform/followers","following_url":"https://api.github.com/users/ergoplatform/following{/other_user}","gists_url":"https://api.github.com/users/ergoplatform/gists{/gist_id}","starred_url":"https://api.github.com/users/ergoplatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ergoplatform/subscriptions","organizations_url":"https://api.github.com/users/ergoplatform/orgs","repos_url":"https://api.github.com/users/ergoplatform/repos","events_url":"https://api.github.com/users/ergoplatform/events{/privacy}","received_events_url":"https://api.github.com/users/ergoplatform/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ergoplatform/ergo","description":"Ergo protocol description & reference implementation","fork":false,"url":"https://api.github.com/repos/ergoplatform/ergo","forks_url":"https://api.github.com/repos/ergoplatform/ergo/forks","keys_url":"https://api.github.com/repos/ergoplatform/ergo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ergoplatform/ergo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ergoplatform/ergo/teams","hooks_url":"https://api.github.com/repos/ergoplatform/ergo/hooks","issue_events_url":"https://api.github.com/repos/ergoplatform/ergo/issues/events{/number}","events_url":"https://api.github.com/repos/ergoplatform/ergo/events","assignees_url":"https://api.github.com/repos/ergoplatform/ergo/assignees{/user}","branches_url":"https://api.github.com/repos/ergoplatform/ergo/branches{/branch}","tags_url":"https://api.github.com/repos/ergoplatform/ergo/tags","blobs_url":"https://api.github.com/repos/ergoplatform/ergo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ergoplatform/ergo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ergoplatform/ergo/git/refs{/sha}","trees_url":"https://api.github.com/repos/ergoplatform/ergo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ergoplatform/ergo/statuses/{sha}","languages_url":"https://api.github.com/repos/ergoplatform/ergo/languages","stargazers_url":"https://api.github.com/repos/ergoplatform/ergo/stargazers","contributors_url":"https://api.github.com/repos/ergoplatform/ergo/contributors","subscribers_url":"https://api.github.com/repos/ergoplatform/ergo/subscribers","subscription_url":"https://api.github.com/repos/ergoplatform/ergo/subscription","commits_url":"https://api.github.com/repos/ergoplatform/ergo/commits{/sha}","git_commits_url":"https://api.github.com/repos/ergoplatform/ergo/git/commits{/sha}","comments_url":"https://api.github.com/repos/ergoplatform/ergo/comments{/number}","issue_comment_url":"https://api.github.com/repos/ergoplatform/ergo/issues/comments{/number}","contents_url":"https://api.github.com/repos/ergoplatform/ergo/contents/{+path}","compare_url":"https://api.github.com/repos/ergoplatform/ergo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ergoplatform/ergo/merges","archive_url":"https://api.github.com/repos/ergoplatform/ergo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ergoplatform/ergo/downloads","issues_url":"https://api.github.com/repos/ergoplatform/ergo/issues{/number}","pulls_url":"https://api.github.com/repos/ergoplatform/ergo/pulls{/number}","milestones_url":"https://api.github.com/repos/ergoplatform/ergo/milestones{/number}","notifications_url":"https://api.github.com/repos/ergoplatform/ergo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ergoplatform/ergo/labels{/name}","releases_url":"https://api.github.com/repos/ergoplatform/ergo/releases{/id}","deployments_url":"https://api.github.com/repos/ergoplatform/ergo/deployments","created_at":"2017-06-13T13:23:11Z","updated_at":"2018-12-06T16:09:38Z","pushed_at":"2018-12-12T09:39:55Z","git_url":"git://github.com/ergoplatform/ergo.git","ssh_url":"git@github.com:ergoplatform/ergo.git","clone_url":"https://github.com/ergoplatform/ergo.git","svn_url":"https://github.com/ergoplatform/ergo","homepage":"https://ergoplatform.org/","size":31836,"stargazers_count":53,"watchers_count":53,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"archived":false,"open_issues_count":58,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":22,"open_issues":58,"watchers":53,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ergoplatform/ergo/pulls/568"},"html":{"href":"https://github.com/ergoplatform/ergo/pull/568"},"issue":{"href":"https://api.github.com/repos/ergoplatform/ergo/issues/568"},"comments":{"href":"https://api.github.com/repos/ergoplatform/ergo/issues/568/comments"},"review_comments":{"href":"https://api.github.com/repos/ergoplatform/ergo/pulls/568/comments"},"review_comment":{"href":"https://api.github.com/repos/ergoplatform/ergo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ergoplatform/ergo/pulls/568/commits"},"statuses":{"href":"https://api.github.com/repos/ergoplatform/ergo/statuses/cd3ca1d8c816afab1566191727ef42c1d02e2ece"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"oskin1"}}