mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-17 02:10:46 +00:00
fixed unit test
This commit is contained in:
parent
b172dd6d45
commit
deafcdc6ca
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,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