{"action":"closed","number":1410,"pull_request":{"url":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/1410","id":233991285,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzOTkxMjg1","html_url":"https://github.com/nanocurrency/raiblocks/pull/1410","diff_url":"https://github.com/nanocurrency/raiblocks/pull/1410.diff","patch_url":"https://github.com/nanocurrency/raiblocks/pull/1410.patch","issue_url":"https://api.github.com/repos/nanocurrency/raiblocks/issues/1410","number":1410,"state":"closed","locked":false,"title":"Ensure the block exists in account_history","user":{"login":"rkeene","id":5068442,"node_id":"MDQ6VXNlcjUwNjg0NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/5068442?v=4","gravatar_id":"","url":"https://api.github.com/users/rkeene","html_url":"https://github.com/rkeene","followers_url":"https://api.github.com/users/rkeene/followers","following_url":"https://api.github.com/users/rkeene/following{/other_user}","gists_url":"https://api.github.com/users/rkeene/gists{/gist_id}","starred_url":"https://api.github.com/users/rkeene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkeene/subscriptions","organizations_url":"https://api.github.com/users/rkeene/orgs","repos_url":"https://api.github.com/users/rkeene/repos","events_url":"https://api.github.com/users/rkeene/events{/privacy}","received_events_url":"https://api.github.com/users/rkeene/received_events","type":"User","site_admin":false},"body":"When calling account_history with a block that does not exist, it currently fails to find the block resulting in dereferencing a NULL pointer.\r\n\r\nThis change makes it return an error.  Another option is to make it return an empty history for the hash.","created_at":"2018-11-27T17:06:39Z","updated_at":"2018-11-29T17:47:55Z","closed_at":"2018-11-29T17:47:54Z","merged_at":"2018-11-29T17:47:54Z","merge_commit_sha":"652f4c1ac1c22ab8344c89d831eac46ee959eeb6","assignee":{"login":"rkeene","id":5068442,"node_id":"MDQ6VXNlcjUwNjg0NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/5068442?v=4","gravatar_id":"","url":"https://api.github.com/users/rkeene","html_url":"https://github.com/rkeene","followers_url":"https://api.github.com/users/rkeene/followers","following_url":"https://api.github.com/users/rkeene/following{/other_user}","gists_url":"https://api.github.com/users/rkeene/gists{/gist_id}","starred_url":"https://api.github.com/users/rkeene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkeene/subscriptions","organizations_url":"https://api.github.com/users/rkeene/orgs","repos_url":"https://api.github.com/users/rkeene/repos","events_url":"https://api.github.com/users/rkeene/events{/privacy}","received_events_url":"https://api.github.com/users/rkeene/received_events","type":"User","site_admin":false},"assignees":[{"login":"rkeene","id":5068442,"node_id":"MDQ6VXNlcjUwNjg0NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/5068442?v=4","gravatar_id":"","url":"https://api.github.com/users/rkeene","html_url":"https://github.com/rkeene","followers_url":"https://api.github.com/users/rkeene/followers","following_url":"https://api.github.com/users/rkeene/following{/other_user}","gists_url":"https://api.github.com/users/rkeene/gists{/gist_id}","starred_url":"https://api.github.com/users/rkeene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkeene/subscriptions","organizations_url":"https://api.github.com/users/rkeene/orgs","repos_url":"https://api.github.com/users/rkeene/repos","events_url":"https://api.github.com/users/rkeene/events{/privacy}","received_events_url":"https://api.github.com/users/rkeene/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"SergiySW","id":18710136,"node_id":"MDQ6VXNlcjE4NzEwMTM2","avatar_url":"https://avatars2.githubusercontent.com/u/18710136?v=4","gravatar_id":"","url":"https://api.github.com/users/SergiySW","html_url":"https://github.com/SergiySW","followers_url":"https://api.github.com/users/SergiySW/followers","following_url":"https://api.github.com/users/SergiySW/following{/other_user}","gists_url":"https://api.github.com/users/SergiySW/gists{/gist_id}","starred_url":"https://api.github.com/users/SergiySW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergiySW/subscriptions","organizations_url":"https://api.github.com/users/SergiySW/orgs","repos_url":"https://api.github.com/users/SergiySW/repos","events_url":"https://api.github.com/users/SergiySW/events{/privacy}","received_events_url":"https://api.github.com/users/SergiySW/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":96478537,"node_id":"MDU6TGFiZWw5NjQ3ODUzNw==","url":"https://api.github.com/repos/nanocurrency/raiblocks/labels/bug","name":"bug","color":"fc2929","default":true}],"milestone":{"url":"https://api.github.com/repos/nanocurrency/raiblocks/milestones/7","html_url":"https://github.com/nanocurrency/raiblocks/milestone/7","labels_url":"https://api.github.com/repos/nanocurrency/raiblocks/milestones/7/labels","id":3590964,"node_id":"MDk6TWlsZXN0b25lMzU5MDk2NA==","number":7,"title":"V18.0","description":"Release V18.0\r\n\r\nThe plan for V18.0 right now is for it to be a clean-up and documentation release.","creator":{"login":"rkeene","id":5068442,"node_id":"MDQ6VXNlcjUwNjg0NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/5068442?v=4","gravatar_id":"","url":"https://api.github.com/users/rkeene","html_url":"https://github.com/rkeene","followers_url":"https://api.github.com/users/rkeene/followers","following_url":"https://api.github.com/users/rkeene/following{/other_user}","gists_url":"https://api.github.com/users/rkeene/gists{/gist_id}","starred_url":"https://api.github.com/users/rkeene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkeene/subscriptions","organizations_url":"https://api.github.com/users/rkeene/orgs","repos_url":"https://api.github.com/users/rkeene/repos","events_url":"https://api.github.com/users/rkeene/events{/privacy}","received_events_url":"https://api.github.com/users/rkeene/received_events","type":"User","site_admin":false},"open_issues":93,"closed_issues":20,"state":"open","created_at":"2018-08-22T14:13:52Z","updated_at":"2018-11-29T17:47:55Z","due_on":"2018-12-21T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/1410/commits","review_comments_url":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/1410/comments","review_comment_url":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nanocurrency/raiblocks/issues/1410/comments","statuses_url":"https://api.github.com/repos/nanocurrency/raiblocks/statuses/bf72f82b7eee6df15b790d8327c9f080ae510a43","head":{"label":"rkeene:fix-account-history","ref":"fix-account-history","sha":"bf72f82b7eee6df15b790d8327c9f080ae510a43","user":{"login":"rkeene","id":5068442,"node_id":"MDQ6VXNlcjUwNjg0NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/5068442?v=4","gravatar_id":"","url":"https://api.github.com/users/rkeene","html_url":"https://github.com/rkeene","followers_url":"https://api.github.com/users/rkeene/followers","following_url":"https://api.github.com/users/rkeene/following{/other_user}","gists_url":"https://api.github.com/users/rkeene/gists{/gist_id}","starred_url":"https://api.github.com/users/rkeene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkeene/subscriptions","organizations_url":"https://api.github.com/users/rkeene/orgs","repos_url":"https://api.github.com/users/rkeene/repos","events_url":"https://api.github.com/users/rkeene/events{/privacy}","received_events_url":"https://api.github.com/users/rkeene/received_events","type":"User","site_admin":false},"repo":{"id":124336495,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQzMzY0OTU=","name":"raiblocks","full_name":"rkeene/raiblocks","private":false,"owner":{"login":"rkeene","id":5068442,"node_id":"MDQ6VXNlcjUwNjg0NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/5068442?v=4","gravatar_id":"","url":"https://api.github.com/users/rkeene","html_url":"https://github.com/rkeene","followers_url":"https://api.github.com/users/rkeene/followers","following_url":"https://api.github.com/users/rkeene/following{/other_user}","gists_url":"https://api.github.com/users/rkeene/gists{/gist_id}","starred_url":"https://api.github.com/users/rkeene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkeene/subscriptions","organizations_url":"https://api.github.com/users/rkeene/orgs","repos_url":"https://api.github.com/users/rkeene/repos","events_url":"https://api.github.com/users/rkeene/events{/privacy}","received_events_url":"https://api.github.com/users/rkeene/received_events","type":"User","site_admin":false},"html_url":"https://github.com/rkeene/raiblocks","description":"RaiBlocks is a cryptocurrency","fork":true,"url":"https://api.github.com/repos/rkeene/raiblocks","forks_url":"https://api.github.com/repos/rkeene/raiblocks/forks","keys_url":"https://api.github.com/repos/rkeene/raiblocks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rkeene/raiblocks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rkeene/raiblocks/teams","hooks_url":"https://api.github.com/repos/rkeene/raiblocks/hooks","issue_events_url":"https://api.github.com/repos/rkeene/raiblocks/issues/events{/number}","events_url":"https://api.github.com/repos/rkeene/raiblocks/events","assignees_url":"https://api.github.com/repos/rkeene/raiblocks/assignees{/user}","branches_url":"https://api.github.com/repos/rkeene/raiblocks/branches{/branch}","tags_url":"https://api.github.com/repos/rkeene/raiblocks/tags","blobs_url":"https://api.github.com/repos/rkeene/raiblocks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rkeene/raiblocks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rkeene/raiblocks/git/refs{/sha}","trees_url":"https://api.github.com/repos/rkeene/raiblocks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rkeene/raiblocks/statuses/{sha}","languages_url":"https://api.github.com/repos/rkeene/raiblocks/languages","stargazers_url":"https://api.github.com/repos/rkeene/raiblocks/stargazers","contributors_url":"https://api.github.com/repos/rkeene/raiblocks/contributors","subscribers_url":"https://api.github.com/repos/rkeene/raiblocks/subscribers","subscription_url":"https://api.github.com/repos/rkeene/raiblocks/subscription","commits_url":"https://api.github.com/repos/rkeene/raiblocks/commits{/sha}","git_commits_url":"https://api.github.com/repos/rkeene/raiblocks/git/commits{/sha}","comments_url":"https://api.github.com/repos/rkeene/raiblocks/comments{/number}","issue_comment_url":"https://api.github.com/repos/rkeene/raiblocks/issues/comments{/number}","contents_url":"https://api.github.com/repos/rkeene/raiblocks/contents/{+path}","compare_url":"https://api.github.com/repos/rkeene/raiblocks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rkeene/raiblocks/merges","archive_url":"https://api.github.com/repos/rkeene/raiblocks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rkeene/raiblocks/downloads","issues_url":"https://api.github.com/repos/rkeene/raiblocks/issues{/number}","pulls_url":"https://api.github.com/repos/rkeene/raiblocks/pulls{/number}","milestones_url":"https://api.github.com/repos/rkeene/raiblocks/milestones{/number}","notifications_url":"https://api.github.com/repos/rkeene/raiblocks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rkeene/raiblocks/labels{/name}","releases_url":"https://api.github.com/repos/rkeene/raiblocks/releases{/id}","deployments_url":"https://api.github.com/repos/rkeene/raiblocks/deployments","created_at":"2018-03-08T04:26:04Z","updated_at":"2018-10-26T21:53:05Z","pushed_at":"2018-11-27T21:03:54Z","git_url":"git://github.com/rkeene/raiblocks.git","ssh_url":"git@github.com:rkeene/raiblocks.git","clone_url":"https://github.com/rkeene/raiblocks.git","svn_url":"https://github.com/rkeene/raiblocks","homepage":"http://raiblocks.net","size":15642,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nanocurrency:master","ref":"master","sha":"99f3221bc6d6297275896b64d69f948269fccc8f","user":{"login":"nanocurrency","id":34106716,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTA2NzE2","avatar_url":"https://avatars0.githubusercontent.com/u/34106716?v=4","gravatar_id":"","url":"https://api.github.com/users/nanocurrency","html_url":"https://github.com/nanocurrency","followers_url":"https://api.github.com/users/nanocurrency/followers","following_url":"https://api.github.com/users/nanocurrency/following{/other_user}","gists_url":"https://api.github.com/users/nanocurrency/gists{/gist_id}","starred_url":"https://api.github.com/users/nanocurrency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanocurrency/subscriptions","organizations_url":"https://api.github.com/users/nanocurrency/orgs","repos_url":"https://api.github.com/users/nanocurrency/repos","events_url":"https://api.github.com/users/nanocurrency/events{/privacy}","received_events_url":"https://api.github.com/users/nanocurrency/received_events","type":"Organization","site_admin":false},"repo":{"id":19347340,"node_id":"MDEwOlJlcG9zaXRvcnkxOTM0NzM0MA==","name":"raiblocks","full_name":"nanocurrency/raiblocks","private":false,"owner":{"login":"nanocurrency","id":34106716,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTA2NzE2","avatar_url":"https://avatars0.githubusercontent.com/u/34106716?v=4","gravatar_id":"","url":"https://api.github.com/users/nanocurrency","html_url":"https://github.com/nanocurrency","followers_url":"https://api.github.com/users/nanocurrency/followers","following_url":"https://api.github.com/users/nanocurrency/following{/other_user}","gists_url":"https://api.github.com/users/nanocurrency/gists{/gist_id}","starred_url":"https://api.github.com/users/nanocurrency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanocurrency/subscriptions","organizations_url":"https://api.github.com/users/nanocurrency/orgs","repos_url":"https://api.github.com/users/nanocurrency/repos","events_url":"https://api.github.com/users/nanocurrency/events{/privacy}","received_events_url":"https://api.github.com/users/nanocurrency/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nanocurrency/raiblocks","description":"Nano is a cryptocurrency","fork":false,"url":"https://api.github.com/repos/nanocurrency/raiblocks","forks_url":"https://api.github.com/repos/nanocurrency/raiblocks/forks","keys_url":"https://api.github.com/repos/nanocurrency/raiblocks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nanocurrency/raiblocks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nanocurrency/raiblocks/teams","hooks_url":"https://api.github.com/repos/nanocurrency/raiblocks/hooks","issue_events_url":"https://api.github.com/repos/nanocurrency/raiblocks/issues/events{/number}","events_url":"https://api.github.com/repos/nanocurrency/raiblocks/events","assignees_url":"https://api.github.com/repos/nanocurrency/raiblocks/assignees{/user}","branches_url":"https://api.github.com/repos/nanocurrency/raiblocks/branches{/branch}","tags_url":"https://api.github.com/repos/nanocurrency/raiblocks/tags","blobs_url":"https://api.github.com/repos/nanocurrency/raiblocks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nanocurrency/raiblocks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nanocurrency/raiblocks/git/refs{/sha}","trees_url":"https://api.github.com/repos/nanocurrency/raiblocks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nanocurrency/raiblocks/statuses/{sha}","languages_url":"https://api.github.com/repos/nanocurrency/raiblocks/languages","stargazers_url":"https://api.github.com/repos/nanocurrency/raiblocks/stargazers","contributors_url":"https://api.github.com/repos/nanocurrency/raiblocks/contributors","subscribers_url":"https://api.github.com/repos/nanocurrency/raiblocks/subscribers","subscription_url":"https://api.github.com/repos/nanocurrency/raiblocks/subscription","commits_url":"https://api.github.com/repos/nanocurrency/raiblocks/commits{/sha}","git_commits_url":"https://api.github.com/repos/nanocurrency/raiblocks/git/commits{/sha}","comments_url":"https://api.github.com/repos/nanocurrency/raiblocks/comments{/number}","issue_comment_url":"https://api.github.com/repos/nanocurrency/raiblocks/issues/comments{/number}","contents_url":"https://api.github.com/repos/nanocurrency/raiblocks/contents/{+path}","compare_url":"https://api.github.com/repos/nanocurrency/raiblocks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nanocurrency/raiblocks/merges","archive_url":"https://api.github.com/repos/nanocurrency/raiblocks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nanocurrency/raiblocks/downloads","issues_url":"https://api.github.com/repos/nanocurrency/raiblocks/issues{/number}","pulls_url":"https://api.github.com/repos/nanocurrency/raiblocks/pulls{/number}","milestones_url":"https://api.github.com/repos/nanocurrency/raiblocks/milestones{/number}","notifications_url":"https://api.github.com/repos/nanocurrency/raiblocks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nanocurrency/raiblocks/labels{/name}","releases_url":"https://api.github.com/repos/nanocurrency/raiblocks/releases{/id}","deployments_url":"https://api.github.com/repos/nanocurrency/raiblocks/deployments","created_at":"2014-05-01T14:49:25Z","updated_at":"2018-11-29T17:35:24Z","pushed_at":"2018-11-29T17:47:54Z","git_url":"git://github.com/nanocurrency/raiblocks.git","ssh_url":"git@github.com:nanocurrency/raiblocks.git","clone_url":"https://github.com/nanocurrency/raiblocks.git","svn_url":"https://github.com/nanocurrency/raiblocks","homepage":"https://nano.org","size":15857,"stargazers_count":2282,"watchers_count":2282,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":514,"mirror_url":null,"archived":false,"open_issues_count":219,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":514,"open_issues":219,"watchers":2282,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/1410"},"html":{"href":"https://github.com/nanocurrency/raiblocks/pull/1410"},"issue":{"href":"https://api.github.com/repos/nanocurrency/raiblocks/issues/1410"},"comments":{"href":"https://api.github.com/repos/nanocurrency/raiblocks/issues/1410/comments"},"review_comments":{"href":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/1410/comments"},"review_comment":{"href":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/1410/commits"},"statuses":{"href":"https://api.github.com/repos/nanocurrency/raiblocks/statuses/bf72f82b7eee6df15b790d8327c9f080ae510a43"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"rkeene","id":5068442,"node_id":"MDQ6VXNlcjUwNjg0NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/5068442?v=4","gravatar_id":"","url":"https://api.github.com/users/rkeene","html_url":"https://github.com/rkeene","followers_url":"https://api.github.com/users/rkeene/followers","following_url":"https://api.github.com/users/rkeene/following{/other_user}","gists_url":"https://api.github.com/users/rkeene/gists{/gist_id}","starred_url":"https://api.github.com/users/rkeene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkeene/subscriptions","organizations_url":"https://api.github.com/users/rkeene/orgs","repos_url":"https://api.github.com/users/rkeene/repos","events_url":"https://api.github.com/users/rkeene/events{/privacy}","received_events_url":"https://api.github.com/users/rkeene/received_events","type":"User","site_admin":false},"comments":0,"review_comments":1,"maintainer_can_modify":false,"commits":2,"additions":9,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"rkeene"}}