{"action":"created","comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/comments/52818589","id":52818589,"diff_hunk":"@@ -140,13 +140,6 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco\n             strHTML += \"(\" + tr(\"not accepted\") + \")\";\n         strHTML += \"<br>\";\n     }\n-    else if (nNet > 0)\n-    {\n-        //\n-        // Credit\n-        //\n-        strHTML += \"<b>\" + tr(\"Credit\") + \":</b> \" + BitcoinUnits::formatHtmlWithUnit(unit, nNet) + \"<br>\";\n-    }","path":"src/qt/transactiondesc.cpp","position":10,"original_position":10,"commit_id":"73496aaa0b5a68237b1e295a1a4c2de0f004dcc7","original_commit_id":"73496aaa0b5a68237b1e295a1a4c2de0f004dcc7","user":{"login":"raedah","id":15878246,"avatar_url":"https://avatars.githubusercontent.com/u/15878246?v=3","gravatar_id":"","url":"https://api.github.com/users/raedah","html_url":"https://github.com/raedah","followers_url":"https://api.github.com/users/raedah/followers","following_url":"https://api.github.com/users/raedah/following{/other_user}","gists_url":"https://api.github.com/users/raedah/gists{/gist_id}","starred_url":"https://api.github.com/users/raedah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raedah/subscriptions","organizations_url":"https://api.github.com/users/raedah/orgs","repos_url":"https://api.github.com/users/raedah/repos","events_url":"https://api.github.com/users/raedah/events{/privacy}","received_events_url":"https://api.github.com/users/raedah/received_events","type":"User","site_admin":false},"body":"With this block gone, line 227 gets applied instead, which has the same output.\r\nAnother way to do this would be to create an  if (fAllToMe)  block, which may be clearer in the code.\r\n","created_at":"2016-02-13T01:02:17Z","updated_at":"2016-02-13T01:02:17Z","html_url":"https://github.com/bitcoin/bitcoin/pull/7101#discussion_r52818589","pull_request_url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/7101","_links":{"self":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/comments/52818589"},"html":{"href":"https://github.com/bitcoin/bitcoin/pull/7101#discussion_r52818589"},"pull_request":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/7101"}}},"pull_request":{"url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/7101","id":51882024,"html_url":"https://github.com/bitcoin/bitcoin/pull/7101","diff_url":"https://github.com/bitcoin/bitcoin/pull/7101.diff","patch_url":"https://github.com/bitcoin/bitcoin/pull/7101.patch","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7101","number":7101,"state":"open","locked":false,"title":"Display coinjoins properly in QT","user":{"login":"raedah","id":15878246,"avatar_url":"https://avatars.githubusercontent.com/u/15878246?v=3","gravatar_id":"","url":"https://api.github.com/users/raedah","html_url":"https://github.com/raedah","followers_url":"https://api.github.com/users/raedah/followers","following_url":"https://api.github.com/users/raedah/following{/other_user}","gists_url":"https://api.github.com/users/raedah/gists{/gist_id}","starred_url":"https://api.github.com/users/raedah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raedah/subscriptions","organizations_url":"https://api.github.com/users/raedah/orgs","repos_url":"https://api.github.com/users/raedah/repos","events_url":"https://api.github.com/users/raedah/events{/privacy}","received_events_url":"https://api.github.com/users/raedah/received_events","type":"User","site_admin":false},"body":"Big diff from modifying the main conditional, but actually only a few lines changed. This resolves https://github.com/bitcoin/bitcoin/issues/6814","created_at":"2015-11-26T08:02:45Z","updated_at":"2016-02-13T01:02:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"39286d78f9ccc24f1537797eafec9d608813b98a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/7101/commits","review_comments_url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/7101/comments","review_comment_url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7101/comments","statuses_url":"https://api.github.com/repos/bitcoin/bitcoin/statuses/73496aaa0b5a68237b1e295a1a4c2de0f004dcc7","head":{"label":"raedah:master","ref":"master","sha":"73496aaa0b5a68237b1e295a1a4c2de0f004dcc7","user":{"login":"raedah","id":15878246,"avatar_url":"https://avatars.githubusercontent.com/u/15878246?v=3","gravatar_id":"","url":"https://api.github.com/users/raedah","html_url":"https://github.com/raedah","followers_url":"https://api.github.com/users/raedah/followers","following_url":"https://api.github.com/users/raedah/following{/other_user}","gists_url":"https://api.github.com/users/raedah/gists{/gist_id}","starred_url":"https://api.github.com/users/raedah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raedah/subscriptions","organizations_url":"https://api.github.com/users/raedah/orgs","repos_url":"https://api.github.com/users/raedah/repos","events_url":"https://api.github.com/users/raedah/events{/privacy}","received_events_url":"https://api.github.com/users/raedah/received_events","type":"User","site_admin":false},"repo":{"id":46826994,"name":"bitcoin","full_name":"raedah/bitcoin","owner":{"login":"raedah","id":15878246,"avatar_url":"https://avatars.githubusercontent.com/u/15878246?v=3","gravatar_id":"","url":"https://api.github.com/users/raedah","html_url":"https://github.com/raedah","followers_url":"https://api.github.com/users/raedah/followers","following_url":"https://api.github.com/users/raedah/following{/other_user}","gists_url":"https://api.github.com/users/raedah/gists{/gist_id}","starred_url":"https://api.github.com/users/raedah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raedah/subscriptions","organizations_url":"https://api.github.com/users/raedah/orgs","repos_url":"https://api.github.com/users/raedah/repos","events_url":"https://api.github.com/users/raedah/events{/privacy}","received_events_url":"https://api.github.com/users/raedah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/raedah/bitcoin","description":"Bitcoin Core integration/staging tree","fork":true,"url":"https://api.github.com/repos/raedah/bitcoin","forks_url":"https://api.github.com/repos/raedah/bitcoin/forks","keys_url":"https://api.github.com/repos/raedah/bitcoin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raedah/bitcoin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raedah/bitcoin/teams","hooks_url":"https://api.github.com/repos/raedah/bitcoin/hooks","issue_events_url":"https://api.github.com/repos/raedah/bitcoin/issues/events{/number}","events_url":"https://api.github.com/repos/raedah/bitcoin/events","assignees_url":"https://api.github.com/repos/raedah/bitcoin/assignees{/user}","branches_url":"https://api.github.com/repos/raedah/bitcoin/branches{/branch}","tags_url":"https://api.github.com/repos/raedah/bitcoin/tags","blobs_url":"https://api.github.com/repos/raedah/bitcoin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raedah/bitcoin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raedah/bitcoin/git/refs{/sha}","trees_url":"https://api.github.com/repos/raedah/bitcoin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raedah/bitcoin/statuses/{sha}","languages_url":"https://api.github.com/repos/raedah/bitcoin/languages","stargazers_url":"https://api.github.com/repos/raedah/bitcoin/stargazers","contributors_url":"https://api.github.com/repos/raedah/bitcoin/contributors","subscribers_url":"https://api.github.com/repos/raedah/bitcoin/subscribers","subscription_url":"https://api.github.com/repos/raedah/bitcoin/subscription","commits_url":"https://api.github.com/repos/raedah/bitcoin/commits{/sha}","git_commits_url":"https://api.github.com/repos/raedah/bitcoin/git/commits{/sha}","comments_url":"https://api.github.com/repos/raedah/bitcoin/comments{/number}","issue_comment_url":"https://api.github.com/repos/raedah/bitcoin/issues/comments{/number}","contents_url":"https://api.github.com/repos/raedah/bitcoin/contents/{+path}","compare_url":"https://api.github.com/repos/raedah/bitcoin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raedah/bitcoin/merges","archive_url":"https://api.github.com/repos/raedah/bitcoin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raedah/bitcoin/downloads","issues_url":"https://api.github.com/repos/raedah/bitcoin/issues{/number}","pulls_url":"https://api.github.com/repos/raedah/bitcoin/pulls{/number}","milestones_url":"https://api.github.com/repos/raedah/bitcoin/milestones{/number}","notifications_url":"https://api.github.com/repos/raedah/bitcoin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raedah/bitcoin/labels{/name}","releases_url":"https://api.github.com/repos/raedah/bitcoin/releases{/id}","deployments_url":"https://api.github.com/repos/raedah/bitcoin/deployments","created_at":"2015-11-25T00:21:51Z","updated_at":"2015-11-25T00:22:04Z","pushed_at":"2016-02-07T22:52:33Z","git_url":"git://github.com/raedah/bitcoin.git","ssh_url":"git@github.com:raedah/bitcoin.git","clone_url":"https://github.com/raedah/bitcoin.git","svn_url":"https://github.com/raedah/bitcoin","homepage":"https://bitcoin.org/en/download","size":62854,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"bitcoin:master","ref":"master","sha":"be281d8a83ca8fe7cf785a4608d1a8954b193191","user":{"login":"bitcoin","id":528860,"avatar_url":"https://avatars.githubusercontent.com/u/528860?v=3","gravatar_id":"","url":"https://api.github.com/users/bitcoin","html_url":"https://github.com/bitcoin","followers_url":"https://api.github.com/users/bitcoin/followers","following_url":"https://api.github.com/users/bitcoin/following{/other_user}","gists_url":"https://api.github.com/users/bitcoin/gists{/gist_id}","starred_url":"https://api.github.com/users/bitcoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitcoin/subscriptions","organizations_url":"https://api.github.com/users/bitcoin/orgs","repos_url":"https://api.github.com/users/bitcoin/repos","events_url":"https://api.github.com/users/bitcoin/events{/privacy}","received_events_url":"https://api.github.com/users/bitcoin/received_events","type":"Organization","site_admin":false},"repo":{"id":1181927,"name":"bitcoin","full_name":"bitcoin/bitcoin","owner":{"login":"bitcoin","id":528860,"avatar_url":"https://avatars.githubusercontent.com/u/528860?v=3","gravatar_id":"","url":"https://api.github.com/users/bitcoin","html_url":"https://github.com/bitcoin","followers_url":"https://api.github.com/users/bitcoin/followers","following_url":"https://api.github.com/users/bitcoin/following{/other_user}","gists_url":"https://api.github.com/users/bitcoin/gists{/gist_id}","starred_url":"https://api.github.com/users/bitcoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitcoin/subscriptions","organizations_url":"https://api.github.com/users/bitcoin/orgs","repos_url":"https://api.github.com/users/bitcoin/repos","events_url":"https://api.github.com/users/bitcoin/events{/privacy}","received_events_url":"https://api.github.com/users/bitcoin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitcoin/bitcoin","description":"Bitcoin Core integration/staging tree","fork":false,"url":"https://api.github.com/repos/bitcoin/bitcoin","forks_url":"https://api.github.com/repos/bitcoin/bitcoin/forks","keys_url":"https://api.github.com/repos/bitcoin/bitcoin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitcoin/bitcoin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitcoin/bitcoin/teams","hooks_url":"https://api.github.com/repos/bitcoin/bitcoin/hooks","issue_events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/events{/number}","events_url":"https://api.github.com/repos/bitcoin/bitcoin/events","assignees_url":"https://api.github.com/repos/bitcoin/bitcoin/assignees{/user}","branches_url":"https://api.github.com/repos/bitcoin/bitcoin/branches{/branch}","tags_url":"https://api.github.com/repos/bitcoin/bitcoin/tags","blobs_url":"https://api.github.com/repos/bitcoin/bitcoin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitcoin/bitcoin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitcoin/bitcoin/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitcoin/bitcoin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitcoin/bitcoin/statuses/{sha}","languages_url":"https://api.github.com/repos/bitcoin/bitcoin/languages","stargazers_url":"https://api.github.com/repos/bitcoin/bitcoin/stargazers","contributors_url":"https://api.github.com/repos/bitcoin/bitcoin/contributors","subscribers_url":"https://api.github.com/repos/bitcoin/bitcoin/subscribers","subscription_url":"https://api.github.com/repos/bitcoin/bitcoin/subscription","commits_url":"https://api.github.com/repos/bitcoin/bitcoin/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitcoin/bitcoin/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitcoin/bitcoin/contents/{+path}","compare_url":"https://api.github.com/repos/bitcoin/bitcoin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitcoin/bitcoin/merges","archive_url":"https://api.github.com/repos/bitcoin/bitcoin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitcoin/bitcoin/downloads","issues_url":"https://api.github.com/repos/bitcoin/bitcoin/issues{/number}","pulls_url":"https://api.github.com/repos/bitcoin/bitcoin/pulls{/number}","milestones_url":"https://api.github.com/repos/bitcoin/bitcoin/milestones{/number}","notifications_url":"https://api.github.com/repos/bitcoin/bitcoin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/labels{/name}","releases_url":"https://api.github.com/repos/bitcoin/bitcoin/releases{/id}","deployments_url":"https://api.github.com/repos/bitcoin/bitcoin/deployments","created_at":"2010-12-19T15:16:43Z","updated_at":"2016-02-12T23:14:26Z","pushed_at":"2016-02-12T20:47:16Z","git_url":"git://github.com/bitcoin/bitcoin.git","ssh_url":"git@github.com:bitcoin/bitcoin.git","clone_url":"https://github.com/bitcoin/bitcoin.git","svn_url":"https://github.com/bitcoin/bitcoin","homepage":"https://bitcoin.org/en/download","size":127971,"stargazers_count":8495,"watchers_count":8495,"language":"C++","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":5770,"mirror_url":null,"open_issues_count":421,"forks":5770,"open_issues":421,"watchers":8495,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/7101"},"html":{"href":"https://github.com/bitcoin/bitcoin/pull/7101"},"issue":{"href":"https://api.github.com/repos/bitcoin/bitcoin/issues/7101"},"comments":{"href":"https://api.github.com/repos/bitcoin/bitcoin/issues/7101/comments"},"review_comments":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/7101/comments"},"review_comment":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitcoin/bitcoin/pulls/7101/commits"},"statuses":{"href":"https://api.github.com/repos/bitcoin/bitcoin/statuses/73496aaa0b5a68237b1e295a1a4c2de0f004dcc7"}}}}