fix unitest

This commit is contained in:
Nguyen Sy Thanh Son 2018-08-14 08:04:42 +00:00
parent 2312678cff
commit 96c9a8f1f2

View file

@ -114,7 +114,7 @@ func TestRewardBalance(t *testing.T) {
opts := bind.NewKeyedTransactor(acc4Key)
opts.Value = new(big.Int).SetUint64(50000)
acc4Validator, _ := NewValidator(opts, validatorAddr, contractBackend)
acc4Validator.Propose(acc3Addr, "http://")
acc4Validator.Propose(acc3Addr)
contractBackend.Commit()
totalVote := 0