Commit 0b1adad5 authored by duanjinfei's avatar duanjinfei

add print log

parent bc80ad23
......@@ -1182,10 +1182,10 @@ func PrReOneErc20TranCase1(txCount int, testAccArr *tool.AccArrFormat, contractM
log.Error("Get erc20 balanceOf error:", err.Error())
res = false
}
log.Infof("ERC20 After to addr:%s,toBal:%s", toAddr.Hex(), to.String())
if to.Sub(to, beforeAddrErc20Bal[toAddr]).Cmp(new(big.Int).Mul(big.NewInt(int64(txCount)), amount)) != 0 {
res = false
}
log.Infof("ERC20 After to addr:%s,toBal:%s", toAddr.Hex(), to.String())
for i := 0; i < txCount; i++ {
from, err := erc20Contract.BalanceOf(&bind.CallOpts{}, testAccArr.FromAddr[i])
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment