dapperlabs/cryptokitties-bounty

bid amount: comment vs code

pauliax opened this issue · 2 comments

    // Check that the incoming bid is higher than the current
    // price
    uint256 price = _currentPrice(auction);
    require(_bidAmount >= price);

The comment says that the bid should be higher, however, the code also allows equal value, so please either refactor the code or update the comment.

dete commented

Thanks for the suggestion, @pauliax. We will definitely update that comment. (Not an important enough issue to qualify for points towards the bounty program, however!)

Thanks for your participation, @pauliax!