{"action":"created","comment":{"url":"https://api.github.com/repos/decred/decrediton/pulls/comments/99155292","pull_request_review_id":19822507,"id":99155292,"diff_hunk":"@@ -220,57 +220,88 @@ class TxHistory extends Component {\n           {mined.map(function(tx) {\n             var credits = tx.getCreditsList();\n             var debits = tx.getDebitsList();\n+\n             var date = dateFormat(new Date(tx.timestamp*1000), 'mmm d yyyy, HH:MM:ss');\n-// Saturday, June 9th, 2007, 5:46:21 PM\n-            if (debits.length == 0) {\n-              var txAmount = 0;\n-              for(var k = 0; k < credits.length; k++){\n-                txAmount += credits[k].getAmount();\n+            var fee = tx.getFee();\n+\n+            var txDescription = '';\n+            var txAmount = 0;\n+\n+            var receiveAddressStr = '';\n+            var totalDebit = 0;\n+            var totalFundsReceived = 0;\n+            var totalChange = 0;\n+            for (var i = 0; i < debits.length; i++) {\n+              console.log(debits.length, i, 'debit', debits[i].getPreviousAmount());","path":"app/components/TxHistory.js","position":50,"original_position":50,"commit_id":"2792ed1739f612ed91a39f75c4a38a7a903e535f","original_commit_id":"2792ed1739f612ed91a39f75c4a38a7a903e535f","user":{"login":"jcvernaleo","id":768163,"avatar_url":"https://avatars.githubusercontent.com/u/768163?v=3","gravatar_id":"","url":"https://api.github.com/users/jcvernaleo","html_url":"https://github.com/jcvernaleo","followers_url":"https://api.github.com/users/jcvernaleo/followers","following_url":"https://api.github.com/users/jcvernaleo/following{/other_user}","gists_url":"https://api.github.com/users/jcvernaleo/gists{/gist_id}","starred_url":"https://api.github.com/users/jcvernaleo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcvernaleo/subscriptions","organizations_url":"https://api.github.com/users/jcvernaleo/orgs","repos_url":"https://api.github.com/users/jcvernaleo/repos","events_url":"https://api.github.com/users/jcvernaleo/events{/privacy}","received_events_url":"https://api.github.com/users/jcvernaleo/received_events","type":"User","site_admin":false},"body":"Here too.","created_at":"2017-02-02T16:11:27Z","updated_at":"2017-02-02T16:11:56Z","html_url":"https://github.com/decred/decrediton/pull/207#discussion_r99155292","pull_request_url":"https://api.github.com/repos/decred/decrediton/pulls/207","_links":{"self":{"href":"https://api.github.com/repos/decred/decrediton/pulls/comments/99155292"},"html":{"href":"https://github.com/decred/decrediton/pull/207#discussion_r99155292"},"pull_request":{"href":"https://api.github.com/repos/decred/decrediton/pulls/207"}}},"pull_request":{"url":"https://api.github.com/repos/decred/decrediton/pulls/207","id":104368260,"html_url":"https://github.com/decred/decrediton/pull/207","diff_url":"https://github.com/decred/decrediton/pull/207.diff","patch_url":"https://github.com/decred/decrediton/pull/207.patch","issue_url":"https://api.github.com/repos/decred/decrediton/issues/207","number":207,"state":"open","locked":false,"title":"Implement Transaction Details and fix various stylings","user":{"login":"alexlyp","id":4388501,"avatar_url":"https://avatars.githubusercontent.com/u/4388501?v=3","gravatar_id":"","url":"https://api.github.com/users/alexlyp","html_url":"https://github.com/alexlyp","followers_url":"https://api.github.com/users/alexlyp/followers","following_url":"https://api.github.com/users/alexlyp/following{/other_user}","gists_url":"https://api.github.com/users/alexlyp/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlyp/subscriptions","organizations_url":"https://api.github.com/users/alexlyp/orgs","repos_url":"https://api.github.com/users/alexlyp/repos","events_url":"https://api.github.com/users/alexlyp/events{/privacy}","received_events_url":"https://api.github.com/users/alexlyp/received_events","type":"User","site_admin":false},"body":"Currently we do not have access to the destination addresses for sent transactions from dcrwallet.  Next release we will making changes to the get transactions rpc which will fix this issue and allow us to have access to that information.","created_at":"2017-02-02T16:07:28Z","updated_at":"2017-02-02T16:11:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a9b78d994be9d4ef921e23645e6b5932235d193","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/decred/decrediton/pulls/207/commits","review_comments_url":"https://api.github.com/repos/decred/decrediton/pulls/207/comments","review_comment_url":"https://api.github.com/repos/decred/decrediton/pulls/comments{/number}","comments_url":"https://api.github.com/repos/decred/decrediton/issues/207/comments","statuses_url":"https://api.github.com/repos/decred/decrediton/statuses/2792ed1739f612ed91a39f75c4a38a7a903e535f","head":{"label":"alexlyp:ayp_tx_details","ref":"ayp_tx_details","sha":"2792ed1739f612ed91a39f75c4a38a7a903e535f","user":{"login":"alexlyp","id":4388501,"avatar_url":"https://avatars.githubusercontent.com/u/4388501?v=3","gravatar_id":"","url":"https://api.github.com/users/alexlyp","html_url":"https://github.com/alexlyp","followers_url":"https://api.github.com/users/alexlyp/followers","following_url":"https://api.github.com/users/alexlyp/following{/other_user}","gists_url":"https://api.github.com/users/alexlyp/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlyp/subscriptions","organizations_url":"https://api.github.com/users/alexlyp/orgs","repos_url":"https://api.github.com/users/alexlyp/repos","events_url":"https://api.github.com/users/alexlyp/events{/privacy}","received_events_url":"https://api.github.com/users/alexlyp/received_events","type":"User","site_admin":false},"repo":{"id":73489143,"name":"decrediton","full_name":"alexlyp/decrediton","owner":{"login":"alexlyp","id":4388501,"avatar_url":"https://avatars.githubusercontent.com/u/4388501?v=3","gravatar_id":"","url":"https://api.github.com/users/alexlyp","html_url":"https://github.com/alexlyp","followers_url":"https://api.github.com/users/alexlyp/followers","following_url":"https://api.github.com/users/alexlyp/following{/other_user}","gists_url":"https://api.github.com/users/alexlyp/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlyp/subscriptions","organizations_url":"https://api.github.com/users/alexlyp/orgs","repos_url":"https://api.github.com/users/alexlyp/repos","events_url":"https://api.github.com/users/alexlyp/events{/privacy}","received_events_url":"https://api.github.com/users/alexlyp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexlyp/decrediton","description":"Cross platform GUI for decred","fork":true,"url":"https://api.github.com/repos/alexlyp/decrediton","forks_url":"https://api.github.com/repos/alexlyp/decrediton/forks","keys_url":"https://api.github.com/repos/alexlyp/decrediton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexlyp/decrediton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexlyp/decrediton/teams","hooks_url":"https://api.github.com/repos/alexlyp/decrediton/hooks","issue_events_url":"https://api.github.com/repos/alexlyp/decrediton/issues/events{/number}","events_url":"https://api.github.com/repos/alexlyp/decrediton/events","assignees_url":"https://api.github.com/repos/alexlyp/decrediton/assignees{/user}","branches_url":"https://api.github.com/repos/alexlyp/decrediton/branches{/branch}","tags_url":"https://api.github.com/repos/alexlyp/decrediton/tags","blobs_url":"https://api.github.com/repos/alexlyp/decrediton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexlyp/decrediton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexlyp/decrediton/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexlyp/decrediton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexlyp/decrediton/statuses/{sha}","languages_url":"https://api.github.com/repos/alexlyp/decrediton/languages","stargazers_url":"https://api.github.com/repos/alexlyp/decrediton/stargazers","contributors_url":"https://api.github.com/repos/alexlyp/decrediton/contributors","subscribers_url":"https://api.github.com/repos/alexlyp/decrediton/subscribers","subscription_url":"https://api.github.com/repos/alexlyp/decrediton/subscription","commits_url":"https://api.github.com/repos/alexlyp/decrediton/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexlyp/decrediton/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexlyp/decrediton/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexlyp/decrediton/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexlyp/decrediton/contents/{+path}","compare_url":"https://api.github.com/repos/alexlyp/decrediton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexlyp/decrediton/merges","archive_url":"https://api.github.com/repos/alexlyp/decrediton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexlyp/decrediton/downloads","issues_url":"https://api.github.com/repos/alexlyp/decrediton/issues{/number}","pulls_url":"https://api.github.com/repos/alexlyp/decrediton/pulls{/number}","milestones_url":"https://api.github.com/repos/alexlyp/decrediton/milestones{/number}","notifications_url":"https://api.github.com/repos/alexlyp/decrediton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexlyp/decrediton/labels{/name}","releases_url":"https://api.github.com/repos/alexlyp/decrediton/releases{/id}","deployments_url":"https://api.github.com/repos/alexlyp/decrediton/deployments","created_at":"2016-11-11T15:32:14Z","updated_at":"2016-12-17T03:44:29Z","pushed_at":"2017-02-02T16:01:07Z","git_url":"git://github.com/alexlyp/decrediton.git","ssh_url":"git@github.com:alexlyp/decrediton.git","clone_url":"https://github.com/alexlyp/decrediton.git","svn_url":"https://github.com/alexlyp/decrediton","homepage":null,"size":2929,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"306329b756cfb5307ec9c86d9754442ab7e638d5","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":73312295,"name":"decrediton","full_name":"decred/decrediton","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/decrediton","description":"Cross platform GUI for decred","fork":false,"url":"https://api.github.com/repos/decred/decrediton","forks_url":"https://api.github.com/repos/decred/decrediton/forks","keys_url":"https://api.github.com/repos/decred/decrediton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/decred/decrediton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/decred/decrediton/teams","hooks_url":"https://api.github.com/repos/decred/decrediton/hooks","issue_events_url":"https://api.github.com/repos/decred/decrediton/issues/events{/number}","events_url":"https://api.github.com/repos/decred/decrediton/events","assignees_url":"https://api.github.com/repos/decred/decrediton/assignees{/user}","branches_url":"https://api.github.com/repos/decred/decrediton/branches{/branch}","tags_url":"https://api.github.com/repos/decred/decrediton/tags","blobs_url":"https://api.github.com/repos/decred/decrediton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/decred/decrediton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/decred/decrediton/git/refs{/sha}","trees_url":"https://api.github.com/repos/decred/decrediton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/decred/decrediton/statuses/{sha}","languages_url":"https://api.github.com/repos/decred/decrediton/languages","stargazers_url":"https://api.github.com/repos/decred/decrediton/stargazers","contributors_url":"https://api.github.com/repos/decred/decrediton/contributors","subscribers_url":"https://api.github.com/repos/decred/decrediton/subscribers","subscription_url":"https://api.github.com/repos/decred/decrediton/subscription","commits_url":"https://api.github.com/repos/decred/decrediton/commits{/sha}","git_commits_url":"https://api.github.com/repos/decred/decrediton/git/commits{/sha}","comments_url":"https://api.github.com/repos/decred/decrediton/comments{/number}","issue_comment_url":"https://api.github.com/repos/decred/decrediton/issues/comments{/number}","contents_url":"https://api.github.com/repos/decred/decrediton/contents/{+path}","compare_url":"https://api.github.com/repos/decred/decrediton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/decred/decrediton/merges","archive_url":"https://api.github.com/repos/decred/decrediton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/decred/decrediton/downloads","issues_url":"https://api.github.com/repos/decred/decrediton/issues{/number}","pulls_url":"https://api.github.com/repos/decred/decrediton/pulls{/number}","milestones_url":"https://api.github.com/repos/decred/decrediton/milestones{/number}","notifications_url":"https://api.github.com/repos/decred/decrediton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/decred/decrediton/labels{/name}","releases_url":"https://api.github.com/repos/decred/decrediton/releases{/id}","deployments_url":"https://api.github.com/repos/decred/decrediton/deployments","created_at":"2016-11-09T18:55:33Z","updated_at":"2017-01-25T19:22:09Z","pushed_at":"2017-02-02T16:07:29Z","git_url":"git://github.com/decred/decrediton.git","ssh_url":"git@github.com:decred/decrediton.git","clone_url":"https://github.com/decred/decrediton.git","svn_url":"https://github.com/decred/decrediton","homepage":null,"size":2866,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":24,"forks":5,"open_issues":24,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/decred/decrediton/pulls/207"},"html":{"href":"https://github.com/decred/decrediton/pull/207"},"issue":{"href":"https://api.github.com/repos/decred/decrediton/issues/207"},"comments":{"href":"https://api.github.com/repos/decred/decrediton/issues/207/comments"},"review_comments":{"href":"https://api.github.com/repos/decred/decrediton/pulls/207/comments"},"review_comment":{"href":"https://api.github.com/repos/decred/decrediton/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/decred/decrediton/pulls/207/commits"},"statuses":{"href":"https://api.github.com/repos/decred/decrediton/statuses/2792ed1739f612ed91a39f75c4a38a7a903e535f"}}}}
{"actor":{"display_login":"jcvernaleo"}}