We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 207f434 commit c694125Copy full SHA for c694125
core/state/statedb.go
@@ -265,7 +265,6 @@ func (s *StateDB) Logs() []*types.Log {
265
for _, lgs := range s.logs {
266
logs = append(logs, lgs...)
267
}
268
- // Because map iteration is not stable, we need to sort the logs by TxIndex, then the LogsHash result is stable.
269
sort.Slice(logs, func(i, j int) bool {
270
return logs[i].Index < logs[j].Index
271
})
0 commit comments