all: remove unneeded parentheses (#21921)
* remove uneeded convertion type * remove redundant type in composite literal * omit explicit type where implicit * remove unused redundant parenthesis * remove redundant import alias duktape
This commit is contained in:
@ -1494,7 +1494,7 @@ func (s *Syncer) revertTrienodeHealRequest(req *trienodeHealRequest) {
|
||||
// retrievals as not-pending, ready for resheduling
|
||||
req.timeout.Stop()
|
||||
for i, hash := range req.hashes {
|
||||
req.task.trieTasks[hash] = [][]byte(req.paths[i])
|
||||
req.task.trieTasks[hash] = req.paths[i]
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user