mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 02:40:45 +00:00
Fixed move foundation wallet address to genesis config.
This commit is contained in:
parent
77bf4b18e1
commit
10e040ffd2
1 changed files with 2 additions and 1 deletions
|
|
@ -126,8 +126,9 @@ func TestRewardBalance(t *testing.T) {
|
||||||
logCaps[i] = &logCap{accounts[randIndex].From.String(), randCap}
|
logCaps[i] = &logCap{accounts[randIndex].From.String(), randCap}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foundationAddr := common.HexToAddress("0x0000000000000000000000000000000000000068")
|
||||||
totalReward := new(big.Int).SetInt64(15 * 1000)
|
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 {
|
if err != nil {
|
||||||
t.Error("Fail to get reward balances rate.", err)
|
t.Error("Fail to get reward balances rate.", err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue