{"action":"created","comment":{"url":"https://api.github.com/repos/ontio/ontology/pulls/comments/183673358","pull_request_review_id":114708157,"id":183673358,"diff_hunk":"@@ -339,40 +378,42 @@ func (cl *ClientImpl) SaveAccount(ac *Account) error {\n \t}\n \n \treturn nil\n-}\n+}*/\n \n+/*\n func (cl *ClientImpl) LoadAccount() map[common.Address]*Account {\n-\ti := 0\n-\taccounts := map[common.Address]*Account{}\n-\tfor true {\n-\t\t_, prikeyenc, err := cl.LoadAccountData(i)\n-\t\tif err != nil {\n-\t\t\tlog.Error(err)\n-\t\t\tbreak\n-\t\t}\n+\t\ti := 0\n+\t\taccounts := map[common.Address]*Account{}","path":"account/client.go","position":393,"original_position":393,"commit_id":"6b930c0f12dc0fc05ed09ddfd5e41461df56d926","original_commit_id":"6b930c0f12dc0fc05ed09ddfd5e41461df56d926","user":{"login":"laizy","id":4203231,"avatar_url":"https://avatars0.githubusercontent.com/u/4203231?v=4","gravatar_id":"","url":"https://api.github.com/users/laizy","html_url":"https://github.com/laizy","followers_url":"https://api.github.com/users/laizy/followers","following_url":"https://api.github.com/users/laizy/following{/other_user}","gists_url":"https://api.github.com/users/laizy/gists{/gist_id}","starred_url":"https://api.github.com/users/laizy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laizy/subscriptions","organizations_url":"https://api.github.com/users/laizy/orgs","repos_url":"https://api.github.com/users/laizy/repos","events_url":"https://api.github.com/users/laizy/events{/privacy}","received_events_url":"https://api.github.com/users/laizy/received_events","type":"User","site_admin":false},"body":"clean up comment-out  code ","created_at":"2018-04-24T10:00:20Z","updated_at":"2018-04-24T10:04:11Z","html_url":"https://github.com/ontio/ontology/pull/57#discussion_r183673358","pull_request_url":"https://api.github.com/repos/ontio/ontology/pulls/57","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ontio/ontology/pulls/comments/183673358"},"html":{"href":"https://github.com/ontio/ontology/pull/57#discussion_r183673358"},"pull_request":{"href":"https://api.github.com/repos/ontio/ontology/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/ontio/ontology/pulls/57","id":183607700,"html_url":"https://github.com/ontio/ontology/pull/57","diff_url":"https://github.com/ontio/ontology/pull/57.diff","patch_url":"https://github.com/ontio/ontology/pull/57.patch","issue_url":"https://api.github.com/repos/ontio/ontology/issues/57","number":57,"state":"open","locked":false,"title":"add account command in cli","user":{"login":"AlverLyu","id":21009943,"avatar_url":"https://avatars1.githubusercontent.com/u/21009943?v=4","gravatar_id":"","url":"https://api.github.com/users/AlverLyu","html_url":"https://github.com/AlverLyu","followers_url":"https://api.github.com/users/AlverLyu/followers","following_url":"https://api.github.com/users/AlverLyu/following{/other_user}","gists_url":"https://api.github.com/users/AlverLyu/gists{/gist_id}","starred_url":"https://api.github.com/users/AlverLyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlverLyu/subscriptions","organizations_url":"https://api.github.com/users/AlverLyu/orgs","repos_url":"https://api.github.com/users/AlverLyu/repos","events_url":"https://api.github.com/users/AlverLyu/events{/privacy}","received_events_url":"https://api.github.com/users/AlverLyu/received_events","type":"User","site_admin":false},"body":"1. add command of account management\r\n2. modify help message\r\n3. change wallet file format","created_at":"2018-04-24T02:52:43Z","updated_at":"2018-04-24T10:04:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5918c85af2263d0cb89117b74ecb8fe27d4db4bc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ontio/ontology/pulls/57/commits","review_comments_url":"https://api.github.com/repos/ontio/ontology/pulls/57/comments","review_comment_url":"https://api.github.com/repos/ontio/ontology/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ontio/ontology/issues/57/comments","statuses_url":"https://api.github.com/repos/ontio/ontology/statuses/6b930c0f12dc0fc05ed09ddfd5e41461df56d926","head":{"label":"AlverLyu:master","ref":"master","sha":"6b930c0f12dc0fc05ed09ddfd5e41461df56d926","user":{"login":"AlverLyu","id":21009943,"avatar_url":"https://avatars1.githubusercontent.com/u/21009943?v=4","gravatar_id":"","url":"https://api.github.com/users/AlverLyu","html_url":"https://github.com/AlverLyu","followers_url":"https://api.github.com/users/AlverLyu/followers","following_url":"https://api.github.com/users/AlverLyu/following{/other_user}","gists_url":"https://api.github.com/users/AlverLyu/gists{/gist_id}","starred_url":"https://api.github.com/users/AlverLyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlverLyu/subscriptions","organizations_url":"https://api.github.com/users/AlverLyu/orgs","repos_url":"https://api.github.com/users/AlverLyu/repos","events_url":"https://api.github.com/users/AlverLyu/events{/privacy}","received_events_url":"https://api.github.com/users/AlverLyu/received_events","type":"User","site_admin":false},"repo":{"id":129365394,"name":"ontology","full_name":"AlverLyu/ontology","owner":{"login":"AlverLyu","id":21009943,"avatar_url":"https://avatars1.githubusercontent.com/u/21009943?v=4","gravatar_id":"","url":"https://api.github.com/users/AlverLyu","html_url":"https://github.com/AlverLyu","followers_url":"https://api.github.com/users/AlverLyu/followers","following_url":"https://api.github.com/users/AlverLyu/following{/other_user}","gists_url":"https://api.github.com/users/AlverLyu/gists{/gist_id}","starred_url":"https://api.github.com/users/AlverLyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlverLyu/subscriptions","organizations_url":"https://api.github.com/users/AlverLyu/orgs","repos_url":"https://api.github.com/users/AlverLyu/repos","events_url":"https://api.github.com/users/AlverLyu/events{/privacy}","received_events_url":"https://api.github.com/users/AlverLyu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlverLyu/ontology","description":"Official Go implementation of the Ontology protocol. https://github.com/ontio/documentation","fork":true,"url":"https://api.github.com/repos/AlverLyu/ontology","forks_url":"https://api.github.com/repos/AlverLyu/ontology/forks","keys_url":"https://api.github.com/repos/AlverLyu/ontology/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlverLyu/ontology/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlverLyu/ontology/teams","hooks_url":"https://api.github.com/repos/AlverLyu/ontology/hooks","issue_events_url":"https://api.github.com/repos/AlverLyu/ontology/issues/events{/number}","events_url":"https://api.github.com/repos/AlverLyu/ontology/events","assignees_url":"https://api.github.com/repos/AlverLyu/ontology/assignees{/user}","branches_url":"https://api.github.com/repos/AlverLyu/ontology/branches{/branch}","tags_url":"https://api.github.com/repos/AlverLyu/ontology/tags","blobs_url":"https://api.github.com/repos/AlverLyu/ontology/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlverLyu/ontology/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlverLyu/ontology/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlverLyu/ontology/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlverLyu/ontology/statuses/{sha}","languages_url":"https://api.github.com/repos/AlverLyu/ontology/languages","stargazers_url":"https://api.github.com/repos/AlverLyu/ontology/stargazers","contributors_url":"https://api.github.com/repos/AlverLyu/ontology/contributors","subscribers_url":"https://api.github.com/repos/AlverLyu/ontology/subscribers","subscription_url":"https://api.github.com/repos/AlverLyu/ontology/subscription","commits_url":"https://api.github.com/repos/AlverLyu/ontology/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlverLyu/ontology/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlverLyu/ontology/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlverLyu/ontology/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlverLyu/ontology/contents/{+path}","compare_url":"https://api.github.com/repos/AlverLyu/ontology/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlverLyu/ontology/merges","archive_url":"https://api.github.com/repos/AlverLyu/ontology/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlverLyu/ontology/downloads","issues_url":"https://api.github.com/repos/AlverLyu/ontology/issues{/number}","pulls_url":"https://api.github.com/repos/AlverLyu/ontology/pulls{/number}","milestones_url":"https://api.github.com/repos/AlverLyu/ontology/milestones{/number}","notifications_url":"https://api.github.com/repos/AlverLyu/ontology/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlverLyu/ontology/labels{/name}","releases_url":"https://api.github.com/repos/AlverLyu/ontology/releases{/id}","deployments_url":"https://api.github.com/repos/AlverLyu/ontology/deployments","created_at":"2018-04-13T07:27:32Z","updated_at":"2018-04-24T02:52:06Z","pushed_at":"2018-04-24T02:52:03Z","git_url":"git://github.com/AlverLyu/ontology.git","ssh_url":"git@github.com:AlverLyu/ontology.git","clone_url":"https://github.com/AlverLyu/ontology.git","svn_url":"https://github.com/AlverLyu/ontology","homepage":"","size":3091,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ontio:master","ref":"master","sha":"9e4492048b4794f6d2dd6b7c48181a2466fd5f10","user":{"login":"ontio","id":36180490,"avatar_url":"https://avatars2.githubusercontent.com/u/36180490?v=4","gravatar_id":"","url":"https://api.github.com/users/ontio","html_url":"https://github.com/ontio","followers_url":"https://api.github.com/users/ontio/followers","following_url":"https://api.github.com/users/ontio/following{/other_user}","gists_url":"https://api.github.com/users/ontio/gists{/gist_id}","starred_url":"https://api.github.com/users/ontio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ontio/subscriptions","organizations_url":"https://api.github.com/users/ontio/orgs","repos_url":"https://api.github.com/users/ontio/repos","events_url":"https://api.github.com/users/ontio/events{/privacy}","received_events_url":"https://api.github.com/users/ontio/received_events","type":"Organization","site_admin":false},"repo":{"id":129360044,"name":"ontology","full_name":"ontio/ontology","owner":{"login":"ontio","id":36180490,"avatar_url":"https://avatars2.githubusercontent.com/u/36180490?v=4","gravatar_id":"","url":"https://api.github.com/users/ontio","html_url":"https://github.com/ontio","followers_url":"https://api.github.com/users/ontio/followers","following_url":"https://api.github.com/users/ontio/following{/other_user}","gists_url":"https://api.github.com/users/ontio/gists{/gist_id}","starred_url":"https://api.github.com/users/ontio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ontio/subscriptions","organizations_url":"https://api.github.com/users/ontio/orgs","repos_url":"https://api.github.com/users/ontio/repos","events_url":"https://api.github.com/users/ontio/events{/privacy}","received_events_url":"https://api.github.com/users/ontio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ontio/ontology","description":"Official Go implementation of the Ontology protocol. https://github.com/ontio/documentation","fork":false,"url":"https://api.github.com/repos/ontio/ontology","forks_url":"https://api.github.com/repos/ontio/ontology/forks","keys_url":"https://api.github.com/repos/ontio/ontology/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ontio/ontology/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ontio/ontology/teams","hooks_url":"https://api.github.com/repos/ontio/ontology/hooks","issue_events_url":"https://api.github.com/repos/ontio/ontology/issues/events{/number}","events_url":"https://api.github.com/repos/ontio/ontology/events","assignees_url":"https://api.github.com/repos/ontio/ontology/assignees{/user}","branches_url":"https://api.github.com/repos/ontio/ontology/branches{/branch}","tags_url":"https://api.github.com/repos/ontio/ontology/tags","blobs_url":"https://api.github.com/repos/ontio/ontology/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ontio/ontology/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ontio/ontology/git/refs{/sha}","trees_url":"https://api.github.com/repos/ontio/ontology/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ontio/ontology/statuses/{sha}","languages_url":"https://api.github.com/repos/ontio/ontology/languages","stargazers_url":"https://api.github.com/repos/ontio/ontology/stargazers","contributors_url":"https://api.github.com/repos/ontio/ontology/contributors","subscribers_url":"https://api.github.com/repos/ontio/ontology/subscribers","subscription_url":"https://api.github.com/repos/ontio/ontology/subscription","commits_url":"https://api.github.com/repos/ontio/ontology/commits{/sha}","git_commits_url":"https://api.github.com/repos/ontio/ontology/git/commits{/sha}","comments_url":"https://api.github.com/repos/ontio/ontology/comments{/number}","issue_comment_url":"https://api.github.com/repos/ontio/ontology/issues/comments{/number}","contents_url":"https://api.github.com/repos/ontio/ontology/contents/{+path}","compare_url":"https://api.github.com/repos/ontio/ontology/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ontio/ontology/merges","archive_url":"https://api.github.com/repos/ontio/ontology/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ontio/ontology/downloads","issues_url":"https://api.github.com/repos/ontio/ontology/issues{/number}","pulls_url":"https://api.github.com/repos/ontio/ontology/pulls{/number}","milestones_url":"https://api.github.com/repos/ontio/ontology/milestones{/number}","notifications_url":"https://api.github.com/repos/ontio/ontology/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ontio/ontology/labels{/name}","releases_url":"https://api.github.com/repos/ontio/ontology/releases{/id}","deployments_url":"https://api.github.com/repos/ontio/ontology/deployments","created_at":"2018-04-13T06:41:29Z","updated_at":"2018-04-24T07:07:18Z","pushed_at":"2018-04-24T09:10:46Z","git_url":"git://github.com/ontio/ontology.git","ssh_url":"git@github.com:ontio/ontology.git","clone_url":"https://github.com/ontio/ontology.git","svn_url":"https://github.com/ontio/ontology","homepage":"","size":3077,"stargazers_count":59,"watchers_count":59,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0"},"forks":38,"open_issues":18,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ontio/ontology/pulls/57"},"html":{"href":"https://github.com/ontio/ontology/pull/57"},"issue":{"href":"https://api.github.com/repos/ontio/ontology/issues/57"},"comments":{"href":"https://api.github.com/repos/ontio/ontology/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/ontio/ontology/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/ontio/ontology/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ontio/ontology/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/ontio/ontology/statuses/6b930c0f12dc0fc05ed09ddfd5e41461df56d926"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"laizy"}}