Fix txgen concurrent map access issue

pull/69/merge
Rongjian Lan 6 years ago
parent d997b4271f
commit 9e9b8fedf4
  1. 2
      client/txgen/main.go

@ -362,8 +362,8 @@ func main() {
wg.Done()
}(shardId)
}
utxoPoolMutex.Unlock()
wg.Wait()
utxoPoolMutex.Unlock()
lock.Lock()
for shardId, txs := range shardIdTxsMap { // Send the txs to corresponding shards

Loading…
Cancel
Save