Commit 5c719026 authored by 李伟@五瓣科技's avatar 李伟@五瓣科技

fix generate tx count

parent 8769debb
......@@ -724,6 +724,7 @@ func (web *WebServicer) sendBatchTxsFromQueue(fromAddr string, toAddrs []string,
From: common.HexToAddress(systemFromAddr).Bytes(),
Tx: tx,
}
count--
if count == 0 {
close(valueStream)
return
......
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