Commit f0b3f991 authored by duanjinfei's avatar duanjinfei

fix erc721 test case

parent 84853c5b
......@@ -1279,7 +1279,6 @@ func PrReErc721TranFromCase(startIndex int, txCount int, testAccArr *tool.AccArr
}
value, _ := accountNonceMap.Load(fromAddr)
nonce := value.(int64)
auth.Nonce = big.NewInt(nonce)
for i := 0; i < txCount; i++ {
toAddr := testAccArr.FromAddr[i]
erc721Trade.ToAddr = toAddr
......@@ -1292,6 +1291,7 @@ func PrReErc721TranFromCase(startIndex int, txCount int, testAccArr *tool.AccArr
beforeToErc721Bal[toAddr] = toErc721Bal
erc721Trade.FromAddr = fromAddr
erc721Trade.TokenId = big.NewInt(int64(startIndex))
auth.Nonce = big.NewInt(nonce)
auth.NoSend = true
auth.GasLimit = 500000
auth.GasPrice = big.NewInt(10000000000)
......
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