{"action":"created","comment":{"url":"https://api.github.com/repos/decred/dcrd/pulls/comments/83061999","pull_request_review_id":3927339,"id":83061999,"diff_hunk":"@@ -659,8 +659,9 @@ func maybeInsertStakeTx(bm *blockManager, stx *dcrutil.Tx, treeValid bool) bool\n \t\t\t\"stx %s: %v\", stx.Sha(), err)\n \t\treturn false\n \t}\n-\tisSSGen, _ := stake.IsSSGen(stx)\n-\tfor i, txIn := range stx.MsgTx().TxIn {\n+\tmstx := stx.MsgTx()","path":"mining.go","position":6,"original_position":6,"commit_id":"b096e956add91a797c874003b1c13f49bb01c753","original_commit_id":"b096e956add91a797c874003b1c13f49bb01c753","user":{"login":"jrick","id":1420313,"avatar_url":"https://avatars.githubusercontent.com/u/1420313?v=3","gravatar_id":"","url":"https://api.github.com/users/jrick","html_url":"https://github.com/jrick","followers_url":"https://api.github.com/users/jrick/followers","following_url":"https://api.github.com/users/jrick/following{/other_user}","gists_url":"https://api.github.com/users/jrick/gists{/gist_id}","starred_url":"https://api.github.com/users/jrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrick/subscriptions","organizations_url":"https://api.github.com/users/jrick/orgs","repos_url":"https://api.github.com/users/jrick/repos","events_url":"https://api.github.com/users/jrick/events{/privacy}","received_events_url":"https://api.github.com/users/jrick/received_events","type":"User","site_admin":false},"body":"neither is better than the other. not worth changing","created_at":"2016-10-12T17:55:19Z","updated_at":"2016-10-12T17:55:19Z","html_url":"https://github.com/decred/dcrd/pull/419#discussion_r83061999","pull_request_url":"https://api.github.com/repos/decred/dcrd/pulls/419","_links":{"self":{"href":"https://api.github.com/repos/decred/dcrd/pulls/comments/83061999"},"html":{"href":"https://github.com/decred/dcrd/pull/419#discussion_r83061999"},"pull_request":{"href":"https://api.github.com/repos/decred/dcrd/pulls/419"}}},"pull_request":{"url":"https://api.github.com/repos/decred/dcrd/pulls/419","id":89050238,"html_url":"https://github.com/decred/dcrd/pull/419","diff_url":"https://github.com/decred/dcrd/pull/419.diff","patch_url":"https://github.com/decred/dcrd/pull/419.patch","issue_url":"https://api.github.com/repos/decred/dcrd/issues/419","number":419,"state":"open","locked":false,"title":"Replace some unnecessary dcrutil.Tx usage with wire.MsgTx.","user":{"login":"jrick","id":1420313,"avatar_url":"https://avatars.githubusercontent.com/u/1420313?v=3","gravatar_id":"","url":"https://api.github.com/users/jrick","html_url":"https://github.com/jrick","followers_url":"https://api.github.com/users/jrick/followers","following_url":"https://api.github.com/users/jrick/following{/other_user}","gists_url":"https://api.github.com/users/jrick/gists{/gist_id}","starred_url":"https://api.github.com/users/jrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrick/subscriptions","organizations_url":"https://api.github.com/users/jrick/orgs","repos_url":"https://api.github.com/users/jrick/repos","events_url":"https://api.github.com/users/jrick/events{/privacy}","received_events_url":"https://api.github.com/users/jrick/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-12T16:35:50Z","updated_at":"2016-10-12T17:55:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2dee7948fdaea9b4d719b966272866dcecf988d7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/decred/dcrd/pulls/419/commits","review_comments_url":"https://api.github.com/repos/decred/dcrd/pulls/419/comments","review_comment_url":"https://api.github.com/repos/decred/dcrd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/decred/dcrd/issues/419/comments","statuses_url":"https://api.github.com/repos/decred/dcrd/statuses/b096e956add91a797c874003b1c13f49bb01c753","head":{"label":"jrick:lessutiltx","ref":"lessutiltx","sha":"b096e956add91a797c874003b1c13f49bb01c753","user":{"login":"jrick","id":1420313,"avatar_url":"https://avatars.githubusercontent.com/u/1420313?v=3","gravatar_id":"","url":"https://api.github.com/users/jrick","html_url":"https://github.com/jrick","followers_url":"https://api.github.com/users/jrick/followers","following_url":"https://api.github.com/users/jrick/following{/other_user}","gists_url":"https://api.github.com/users/jrick/gists{/gist_id}","starred_url":"https://api.github.com/users/jrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrick/subscriptions","organizations_url":"https://api.github.com/users/jrick/orgs","repos_url":"https://api.github.com/users/jrick/repos","events_url":"https://api.github.com/users/jrick/events{/privacy}","received_events_url":"https://api.github.com/users/jrick/received_events","type":"User","site_admin":false},"repo":{"id":22847143,"name":"btcd","full_name":"jrick/btcd","owner":{"login":"jrick","id":1420313,"avatar_url":"https://avatars.githubusercontent.com/u/1420313?v=3","gravatar_id":"","url":"https://api.github.com/users/jrick","html_url":"https://github.com/jrick","followers_url":"https://api.github.com/users/jrick/followers","following_url":"https://api.github.com/users/jrick/following{/other_user}","gists_url":"https://api.github.com/users/jrick/gists{/gist_id}","starred_url":"https://api.github.com/users/jrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrick/subscriptions","organizations_url":"https://api.github.com/users/jrick/orgs","repos_url":"https://api.github.com/users/jrick/repos","events_url":"https://api.github.com/users/jrick/events{/privacy}","received_events_url":"https://api.github.com/users/jrick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jrick/btcd","description":"An alternative full node bitcoin implementation written in Go (golang)","fork":true,"url":"https://api.github.com/repos/jrick/btcd","forks_url":"https://api.github.com/repos/jrick/btcd/forks","keys_url":"https://api.github.com/repos/jrick/btcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jrick/btcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jrick/btcd/teams","hooks_url":"https://api.github.com/repos/jrick/btcd/hooks","issue_events_url":"https://api.github.com/repos/jrick/btcd/issues/events{/number}","events_url":"https://api.github.com/repos/jrick/btcd/events","assignees_url":"https://api.github.com/repos/jrick/btcd/assignees{/user}","branches_url":"https://api.github.com/repos/jrick/btcd/branches{/branch}","tags_url":"https://api.github.com/repos/jrick/btcd/tags","blobs_url":"https://api.github.com/repos/jrick/btcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jrick/btcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jrick/btcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/jrick/btcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jrick/btcd/statuses/{sha}","languages_url":"https://api.github.com/repos/jrick/btcd/languages","stargazers_url":"https://api.github.com/repos/jrick/btcd/stargazers","contributors_url":"https://api.github.com/repos/jrick/btcd/contributors","subscribers_url":"https://api.github.com/repos/jrick/btcd/subscribers","subscription_url":"https://api.github.com/repos/jrick/btcd/subscription","commits_url":"https://api.github.com/repos/jrick/btcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/jrick/btcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/jrick/btcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/jrick/btcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/jrick/btcd/contents/{+path}","compare_url":"https://api.github.com/repos/jrick/btcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jrick/btcd/merges","archive_url":"https://api.github.com/repos/jrick/btcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jrick/btcd/downloads","issues_url":"https://api.github.com/repos/jrick/btcd/issues{/number}","pulls_url":"https://api.github.com/repos/jrick/btcd/pulls{/number}","milestones_url":"https://api.github.com/repos/jrick/btcd/milestones{/number}","notifications_url":"https://api.github.com/repos/jrick/btcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jrick/btcd/labels{/name}","releases_url":"https://api.github.com/repos/jrick/btcd/releases{/id}","deployments_url":"https://api.github.com/repos/jrick/btcd/deployments","created_at":"2014-08-11T17:03:57Z","updated_at":"2016-08-11T16:56:49Z","pushed_at":"2016-10-12T17:00:12Z","git_url":"git://github.com/jrick/btcd.git","ssh_url":"git@github.com:jrick/btcd.git","clone_url":"https://github.com/jrick/btcd.git","svn_url":"https://github.com/jrick/btcd","homepage":null,"size":18043,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"decred:master","ref":"master","sha":"0b2c81b0b86f0c111cb49ffe7bef74021ec2b79f","user":{"login":"decred","id":16297194,"avatar_url":"https://avatars.githubusercontent.com/u/16297194?v=3","gravatar_id":"","url":"https://api.github.com/users/decred","html_url":"https://github.com/decred","followers_url":"https://api.github.com/users/decred/followers","following_url":"https://api.github.com/users/decred/following{/other_user}","gists_url":"https://api.github.com/users/decred/gists{/gist_id}","starred_url":"https://api.github.com/users/decred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/decred/subscriptions","organizations_url":"https://api.github.com/users/decred/orgs","repos_url":"https://api.github.com/users/decred/repos","events_url":"https://api.github.com/users/decred/events{/privacy}","received_events_url":"https://api.github.com/users/decred/received_events","type":"Organization","site_admin":false},"repo":{"id":50457080,"name":"dcrd","full_name":"decred/dcrd","owner":{"login":"decred","id":16297194,"avatar_url":"https://avatars.githubusercontent.com/u/16297194?v=3","gravatar_id":"","url":"https://api.github.com/users/decred","html_url":"https://github.com/decred","followers_url":"https://api.github.com/users/decred/followers","following_url":"https://api.github.com/users/decred/following{/other_user}","gists_url":"https://api.github.com/users/decred/gists{/gist_id}","starred_url":"https://api.github.com/users/decred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/decred/subscriptions","organizations_url":"https://api.github.com/users/decred/orgs","repos_url":"https://api.github.com/users/decred/repos","events_url":"https://api.github.com/users/decred/events{/privacy}","received_events_url":"https://api.github.com/users/decred/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/decred/dcrd","description":"Decred daemon in Go (golang)","fork":true,"url":"https://api.github.com/repos/decred/dcrd","forks_url":"https://api.github.com/repos/decred/dcrd/forks","keys_url":"https://api.github.com/repos/decred/dcrd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/decred/dcrd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/decred/dcrd/teams","hooks_url":"https://api.github.com/repos/decred/dcrd/hooks","issue_events_url":"https://api.github.com/repos/decred/dcrd/issues/events{/number}","events_url":"https://api.github.com/repos/decred/dcrd/events","assignees_url":"https://api.github.com/repos/decred/dcrd/assignees{/user}","branches_url":"https://api.github.com/repos/decred/dcrd/branches{/branch}","tags_url":"https://api.github.com/repos/decred/dcrd/tags","blobs_url":"https://api.github.com/repos/decred/dcrd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/decred/dcrd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/decred/dcrd/git/refs{/sha}","trees_url":"https://api.github.com/repos/decred/dcrd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/decred/dcrd/statuses/{sha}","languages_url":"https://api.github.com/repos/decred/dcrd/languages","stargazers_url":"https://api.github.com/repos/decred/dcrd/stargazers","contributors_url":"https://api.github.com/repos/decred/dcrd/contributors","subscribers_url":"https://api.github.com/repos/decred/dcrd/subscribers","subscription_url":"https://api.github.com/repos/decred/dcrd/subscription","commits_url":"https://api.github.com/repos/decred/dcrd/commits{/sha}","git_commits_url":"https://api.github.com/repos/decred/dcrd/git/commits{/sha}","comments_url":"https://api.github.com/repos/decred/dcrd/comments{/number}","issue_comment_url":"https://api.github.com/repos/decred/dcrd/issues/comments{/number}","contents_url":"https://api.github.com/repos/decred/dcrd/contents/{+path}","compare_url":"https://api.github.com/repos/decred/dcrd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/decred/dcrd/merges","archive_url":"https://api.github.com/repos/decred/dcrd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/decred/dcrd/downloads","issues_url":"https://api.github.com/repos/decred/dcrd/issues{/number}","pulls_url":"https://api.github.com/repos/decred/dcrd/pulls{/number}","milestones_url":"https://api.github.com/repos/decred/dcrd/milestones{/number}","notifications_url":"https://api.github.com/repos/decred/dcrd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/decred/dcrd/labels{/name}","releases_url":"https://api.github.com/repos/decred/dcrd/releases{/id}","deployments_url":"https://api.github.com/repos/decred/dcrd/deployments","created_at":"2016-01-26T20:28:42Z","updated_at":"2016-09-15T18:29:16Z","pushed_at":"2016-10-12T17:00:13Z","git_url":"git://github.com/decred/dcrd.git","ssh_url":"git@github.com:decred/dcrd.git","clone_url":"https://github.com/decred/dcrd.git","svn_url":"https://github.com/decred/dcrd","homepage":"https://decred.org","size":18151,"stargazers_count":47,"watchers_count":47,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":48,"forks":19,"open_issues":48,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/decred/dcrd/pulls/419"},"html":{"href":"https://github.com/decred/dcrd/pull/419"},"issue":{"href":"https://api.github.com/repos/decred/dcrd/issues/419"},"comments":{"href":"https://api.github.com/repos/decred/dcrd/issues/419/comments"},"review_comments":{"href":"https://api.github.com/repos/decred/dcrd/pulls/419/comments"},"review_comment":{"href":"https://api.github.com/repos/decred/dcrd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/decred/dcrd/pulls/419/commits"},"statuses":{"href":"https://api.github.com/repos/decred/dcrd/statuses/b096e956add91a797c874003b1c13f49bb01c753"}}}}
{"actor":{"display_login":"jrick"}}