mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
accept range compare
This commit is contained in:
parent
7e0c8a293b
commit
c517f4aaf0
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ func TestRewardBalance(t *testing.T) {
|
||||||
afterReward = new(big.Int).Add(afterReward, value)
|
afterReward = new(big.Int).Add(afterReward, value)
|
||||||
}
|
}
|
||||||
|
|
||||||
if totalReward.Int64()+1 < afterReward.Int64() || totalReward.Int64()-1 > afterReward.Int64() {
|
if totalReward.Int64()+5 < afterReward.Int64() || totalReward.Int64()-5 > afterReward.Int64() {
|
||||||
callOpts := new(bind.CallOpts)
|
callOpts := new(bind.CallOpts)
|
||||||
voters, err := baseValidator.GetVoters(callOpts, acc3Addr)
|
voters, err := baseValidator.GetVoters(callOpts, acc3Addr)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue