fixed unit test

This commit is contained in:
MestryOmkar 2018-10-27 10:28:59 +05:30
parent b172dd6d45
commit deafcdc6ca

View file

@ -99,7 +99,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