pull/49/head
Richard Liu 6 years ago
parent 6d6742cd2d
commit 1d4908af83
  1. 2
      client/txgen/main.go

@ -84,6 +84,7 @@ func generateSimulatedTransactions(shardId int, dataNodes []*node.Node) ([]*bloc
UTXOLOOP:
// Loop over all addresses
for address, txMap := range dataNodes[shardId].UtxoPool.UtxoMap {
txInfo.address = address
// Loop over all txIds for the address
for txIdStr, utxoMap := range txMap {
// Parse TxId
@ -92,7 +93,6 @@ UTXOLOOP:
continue
}
copy(txInfo.id[:], id[:])
txInfo.address = address
// Loop over all utxos for the txId
for index, value := range utxoMap {

Loading…
Cancel
Save