smart_contracts icon indicating copy to clipboard operation
smart_contracts copied to clipboard

Both ether and a valid token address might be sent to postBounty function

Open subramanianv opened this issue 8 years ago • 1 comments

https://github.com/gitcoinco/smart_contracts/blob/9100e1cfde32fcc7a45ec5cfbc11df5bf8d36699/contracts/bounty/BountyIndex.sol#L69

if the token address is a valid address along with it some ether is sent, the ether would be stuck up in the smart contract.

If its a valid address, after the transferFrom function ether might have to be transferred back to the caller.

Not a serious bug !

subramanianv avatar Nov 03 '17 06:11 subramanianv

Thanks for pointing this out.

owocki avatar Nov 03 '17 15:11 owocki