neo-go/cli/wallet
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
..
testdata *: regenerate all wallets with adjusted parameters 2024-03-01 19:19:03 +03:00
candidate_test.go cli: add Required field for flags 2024-07-12 11:58:12 +03:00
legacy.go cli: move wallet-related flags handling to options package 2023-12-06 10:49:50 +03:00
legacy_test.go *: replace slice.Copy with bytes.Clone 2024-03-05 13:54:10 +03:00
multisig.go cli: upgrade urfave lib to v2 2024-07-12 11:58:12 +03:00
multisig_test.go cli: add Required field for flags 2024-07-12 11:58:12 +03:00
nep11.go *: use slices.Clone instead of make/copy 2024-08-24 22:41:48 +03:00
nep17.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
validator.go cli: add Required field for flags 2024-07-12 11:58:12 +03:00
wallet.go *: use slices.Index/slices.Contains where appropriate 2024-08-27 08:24:52 +03:00
wallet_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00