This commit is contained in:
alex.sharov 2021-08-30 10:50:56 +07:00
parent 7776dcc461
commit 9050852cba

View File

@ -602,9 +602,9 @@ func (sc *SendersCache) flush(tx kv.RwTx, byNonce *ByNonce, sendersWithoutTransa
sendersWithoutTransactions.Add(id) sendersWithoutTransactions.Add(id)
} }
} }
if ASSERT { //if ASSERT {
sort.Slice(justInserted, func(i, j int) bool { return justInserted[i] < justInserted[j] }) // sort.Slice(justInserted, func(i, j int) bool { return justInserted[i] < justInserted[j] })
} //}
v := make([]byte, 8, 8+32) v := make([]byte, 8, 8+32)
for id, info := range sc.senderInfo { for id, info := range sc.senderInfo {