Update test ethclient, rename rollup var

This commit is contained in:
Eduard S
2020-10-08 13:18:06 +02:00
parent 1c54beca5a
commit cbc46db6da
5 changed files with 24 additions and 19 deletions

View File

@@ -35,8 +35,7 @@ func TestRollupConstants(t *testing.T) {
}
func TestAddToken(t *testing.T) {
var feeAddToken = new(big.Int)
feeAddToken = big.NewInt(10)
feeAddToken := big.NewInt(10)
// Addtoken
_, err := rollupClient.RollupAddToken(tokenERC777AddressConst, feeAddToken)
require.Nil(t, err)