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

fix tree list

parent 11a717b6
......@@ -764,8 +764,6 @@ func (web *WebServicer) sendBatchTxsFromQueue(fromAddr string, toAddrs []string,
beginOriginalTx = txF.Tx.Hash()
}
for i := 0; i < batchTxSize; i++ {
batchTxs = append(batchTxs, txF)
txAsBytes, err := txF.Tx.MarshalBinary()
if err != nil {
......@@ -774,11 +772,6 @@ func (web *WebServicer) sendBatchTxsFromQueue(fromAddr string, toAddrs []string,
txsBytes = append(txsBytes, txAsBytes...)
if k == len(txFs)-1 {
break
}
}
if (k+1)%(batchTxSize) == 0 || k == len(txFs)-1 {
h := sha256.New()
......
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