neo-go/pkg/core/statesync
Roman Khimov 1b83dc2476 *: improve for loop syntax
Mostly it's about Go 1.22+ syntax with ranging over integers, but it also
prefers ranging over slices where possible (it makes code a little better to
read).

Notice that we have a number of dangerous loops where slices are mutated
during loop execution, many of these can't be converted since we need proper
length evalutation at every iteration.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2024-08-30 21:45:18 +03:00
..
module.go config: replace VerifyBlocks with SkipBlockVerification 2022-12-07 17:35:56 +03:00
module_test.go *: replace slice.Copy with bytes.Clone 2024-03-05 13:54:10 +03:00
mptpool.go statesync: simplify Pool management code 2024-08-27 12:29:44 +03:00
mptpool_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
neotest_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00