smart_contracts
smart_contracts copied to clipboard
Both ether and a valid token address might be sent to postBounty function
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 !
Thanks for pointing this out.