Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance setStakingContract function #274

Merged
merged 2 commits into from
Aug 17, 2019
Merged

Conversation

varasev
Copy link
Contributor

@varasev varasev commented Aug 16, 2019

This little change ensures that StakingAuRa contract has no tokens on its balance before its address is set to the ERC677BridgeTokenRewardable.stakingContract variable. The StakingAuRa contract must have zero balance when the network starts. The same checking was added to the StakingAuRa.setErc20TokenContract function: poanetwork/posdao-contracts@2f3449b#diff-d272eb6253b6a8415de90563f08ebb92

@varasev varasev requested review from patitonar and akolotov August 16, 2019 16:01
@akolotov akolotov merged commit 1841968 into develop Aug 17, 2019
@akolotov akolotov deleted the va-enhance-setStakingContract branch August 17, 2019 12:55
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.

2 participants