Fixed move foundation wallet address to genesis config.

This commit is contained in:
MestryOmkar 2018-10-29 14:45:35 +05:30
parent 77bf4b18e1
commit 10e040ffd2

View file

@ -126,8 +126,9 @@ func TestRewardBalance(t *testing.T) {
logCaps[i] = &logCap{accounts[randIndex].From.String(), randCap}
}
foundationAddr := common.HexToAddress("0x0000000000000000000000000000000000000068")
totalReward := new(big.Int).SetInt64(15 * 1000)
rewards, err := contracts.GetRewardBalancesRate(acc3Addr, totalReward, baseValidator)
rewards, err := contracts.GetRewardBalancesRate(foundationAddr, acc3Addr, totalReward, baseValidator)
if err != nil {
t.Error("Fail to get reward balances rate.", err)
}