Commit 932ffbff authored by duanjinfei's avatar duanjinfei

fix map hash

parent ef2bffc2
...@@ -236,7 +236,7 @@ func NoSignTxArr(syncMap sync.Map, sendTxAccountArr [][]string, cfg *tool.Config ...@@ -236,7 +236,7 @@ func NoSignTxArr(syncMap sync.Map, sendTxAccountArr [][]string, cfg *tool.Config
Data: nil, Data: nil,
} }
newtx := types.NewTx(&txData) newtx := types.NewTx(&txData)
txcache.Add(newtx.Hash().Hex(), fromAddr) txcache.Add(common.HexToHash(fromAddr+string(signCount)).Hex(), fromAddr)
signTranArr.TranArr = append(signTranArr.TranArr, newtx) signTranArr.TranArr = append(signTranArr.TranArr, newtx)
nonce = big.NewInt(1).Add(nonce, big.NewInt(1)) nonce = big.NewInt(1).Add(nonce, big.NewInt(1))
} }
......
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