Skip to content

Conversation

@orenyodfat
Copy link
Contributor

@orenyodfat orenyodfat commented Oct 11, 2018

use infra 09

auction4reputation - add transferToWallet

function redeem(address _beneficiary, uint _auctionId) public returns(bool) {
// solium-disable-next-line security/no-block-members
require(now > auctionsEndTime, "check the auctions period pass");
require(now > redeemEnableTime, "now > redeemEnableTime");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be >=

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be >

function redeem(address _beneficiary) public returns(bool) {
// solium-disable-next-line security/no-block-members
require(block.timestamp > lockingEndTime, "check the lock period pass");
require(block.timestamp > redeemEnableTime, "now > redeemEnableTime");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be >=

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be >

*/
function transferToWallet() public {
// solium-disable-next-line security/no-block-members
require(now > auctionsEndTime, "now > redeemEnableTime");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error message is wrong.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @leviadam
fixed at 247ef62

Copy link
Contributor

@leviadam leviadam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. I had one small comment.

@orenyodfat orenyodfat merged commit dafa1d7 into master Oct 15, 2018
@orenyodfat orenyodfat deleted the renaming branch October 15, 2018 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants