{"action":"opened","issue":{"url":"https://api.github.com/repos/LiskHQ/lisk/issues/2430","repository_url":"https://api.github.com/repos/LiskHQ/lisk","labels_url":"https://api.github.com/repos/LiskHQ/lisk/issues/2430/labels{/name}","comments_url":"https://api.github.com/repos/LiskHQ/lisk/issues/2430/comments","events_url":"https://api.github.com/repos/LiskHQ/lisk/issues/2430/events","html_url":"https://github.com/LiskHQ/lisk/issues/2430","id":365360695,"node_id":"MDU6SXNzdWUzNjUzNjA2OTU=","number":2430,"title":"Wrong amount check in verify function of logic/In_transfer and logic/out_transfer","user":{"login":"ManuGowda","id":6449871,"node_id":"MDQ6VXNlcjY0NDk4NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/6449871?v=4","gravatar_id":"","url":"https://api.github.com/users/ManuGowda","html_url":"https://github.com/ManuGowda","followers_url":"https://api.github.com/users/ManuGowda/followers","following_url":"https://api.github.com/users/ManuGowda/following{/other_user}","gists_url":"https://api.github.com/users/ManuGowda/gists{/gist_id}","starred_url":"https://api.github.com/users/ManuGowda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManuGowda/subscriptions","organizations_url":"https://api.github.com/users/ManuGowda/orgs","repos_url":"https://api.github.com/users/ManuGowda/repos","events_url":"https://api.github.com/users/ManuGowda/events{/privacy}","received_events_url":"https://api.github.com/users/ManuGowda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-01T08:41:20Z","updated_at":"2018-10-01T08:41:20Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Expected behavior\r\nInTransfer and OutTransfer verify function should check if `amount.equals(0)`\r\n## Actual behavior\r\nInTransfer verify function checks if the transaction amount is not equals zero\r\nhttps://github.com/LiskHQ/lisk/blob/ca8a69fdaa4d69ec729721a3b49b04172a337dff/logic/in_transfer.js#L96\r\nOutTransfer verify function checks if the transaction amount is not equals zero\r\nhttps://github.com/LiskHQ/lisk/blob/ca8a69fdaa4d69ec729721a3b49b04172a337dff/logic/out_transfer.js#L94 \r\n### Steps to reproduce\r\n\r\n### Which version(s) does this affect? (Environment, OS, etc...)\r\n1.1.0"}}
{"actor":{"display_login":"ManuGowda"}}