mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
fix unitest
This commit is contained in:
parent
2312678cff
commit
96c9a8f1f2
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ func TestRewardBalance(t *testing.T) {
|
||||||
opts := bind.NewKeyedTransactor(acc4Key)
|
opts := bind.NewKeyedTransactor(acc4Key)
|
||||||
opts.Value = new(big.Int).SetUint64(50000)
|
opts.Value = new(big.Int).SetUint64(50000)
|
||||||
acc4Validator, _ := NewValidator(opts, validatorAddr, contractBackend)
|
acc4Validator, _ := NewValidator(opts, validatorAddr, contractBackend)
|
||||||
acc4Validator.Propose(acc3Addr, "http://")
|
acc4Validator.Propose(acc3Addr)
|
||||||
contractBackend.Commit()
|
contractBackend.Commit()
|
||||||
|
|
||||||
totalVote := 0
|
totalVote := 0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue