{"comment":{"url":"https://api.github.com/repos/LluisaMarsal/B9Lab-Project2/comments/31736414","html_url":"https://github.com/LluisaMarsal/B9Lab-Project2/commit/6610924e7b13a94bf016dfe49a0719089ace4310#commitcomment-31736414","id":31736414,"node_id":"MDEzOkNvbW1pdENvbW1lbnQzMTczNjQxNA==","user":{"login":"LluisaMarsal","id":44668677,"node_id":"MDQ6VXNlcjQ0NjY4Njc3","avatar_url":"https://avatars3.githubusercontent.com/u/44668677?v=4","gravatar_id":"","url":"https://api.github.com/users/LluisaMarsal","html_url":"https://github.com/LluisaMarsal","followers_url":"https://api.github.com/users/LluisaMarsal/followers","following_url":"https://api.github.com/users/LluisaMarsal/following{/other_user}","gists_url":"https://api.github.com/users/LluisaMarsal/gists{/gist_id}","starred_url":"https://api.github.com/users/LluisaMarsal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LluisaMarsal/subscriptions","organizations_url":"https://api.github.com/users/LluisaMarsal/orgs","repos_url":"https://api.github.com/users/LluisaMarsal/repos","events_url":"https://api.github.com/users/LluisaMarsal/events{/privacy}","received_events_url":"https://api.github.com/users/LluisaMarsal/received_events","type":"User","site_admin":false},"position":10,"line":56,"path":"contracts/Remittance.sol","commit_id":"6610924e7b13a94bf016dfe49a0719089ace4310","created_at":"2018-12-19T20:55:28Z","updated_at":"2018-12-19T20:55:28Z","author_association":"OWNER","body":"I reworked the function as per the comment below, and if the  function is called a second time it goes through but sends ` 0` because the box has been zeroed out. To prevent the function being called a second time I've added this clause:  ` require(remittanceStructs[hashedPassword].amount != 0);`. You can see it in my last commit: https://github.com/LluisaMarsal/B9Lab-Project2/commit/d3225ba14f24310b83dcf6e2ce368fd6413ffcf5"}}
{"actor":{"display_login":"LluisaMarsal"}}