Commit 6f9bff37 authored by duanjinfei's avatar duanjinfei

change from nonce

parent 1469fae6
...@@ -110,7 +110,9 @@ func PrSpCoinTranCase(txCount int, testAccArr *tool.AccArrFormat, accountNonceMa ...@@ -110,7 +110,9 @@ func PrSpCoinTranCase(txCount int, testAccArr *tool.AccArrFormat, accountNonceMa
log.Error("constructor coin transfer tx err:", err.Error()) log.Error("constructor coin transfer tx err:", err.Error())
continue continue
} }
coinTrade.FromNonce = big.NewInt(value.(int64) + 1) nonce := value.(int64)
nonce += 1
coinTrade.FromNonce = big.NewInt(nonce)
resTxArr = append(resTxArr, tx) resTxArr = append(resTxArr, tx)
} }
verify := func() bool { verify := func() bool {
......
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