Skip to content

Conversation

orenyodfat
Copy link
Contributor

VestingScheme: Check tokens actually minted. fix #608

uController : consolidate reputations and tokens mapping to prevent switching between token and reputation.

externalLocking4Reputation: replace add(0x20,0) with 0x20.

//To guaranty uniqueness for the nativeToken.
require(!tokens[address(nativeToken)]);
require(!actors[address(nativeToken)]);
actors[address(nativeToken)] = true;
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we not do the same for the avatar?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

see e5c68db

@orenyodfat orenyodfat merged commit c0baf59 into master Mar 24, 2019
@leviadam leviadam deleted the gh-issue-608_v2 branch April 1, 2019 14:19
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.

VestingScheme : potential vulnerability

2 participants