neo-go/pkg/services/oracle
Ekaterina Pavlova 41109f442a oracle: add length check o.MainCfg.NeoFS.Nodes
Prevent the risk of a division by zero error when accessing the
`o.MainCfg.NeoFS.Nodes[index]` array.

Close #3419

Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-06-05 11:53:52 +03:00
..
broadcaster *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
jsonpath *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
neofs *: use multierror wrapping where possible 2024-03-05 13:54:10 +03:00
testdata *: regenerate all wallets with adjusted parameters 2024-03-01 19:19:03 +03:00
filter.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
filter_test.go jsonpath: restrict amount of intermediate objects 2022-02-28 13:18:34 +03:00
network.go *: use multierror wrapping where possible 2024-03-05 13:54:10 +03:00
network_test.go *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00
nodes.go *: do not get private key from Account to check if it CanSign() 2022-09-02 14:43:34 +03:00
oracle.go native: make Oracle service handle native Oracle updates 2024-04-25 13:26:54 +03:00
oracle_test.go *: replace slice.Copy with bytes.Clone 2024-03-05 13:54:10 +03:00
request.go oracle: add length check o.MainCfg.NeoFS.Nodes 2024-06-05 11:53:52 +03:00
request_test.go oracle: check response Content-Type 2021-07-12 13:13:48 +03:00
response.go native: autogenerate nativehashes package 2024-05-14 09:39:53 +03:00
transaction.go [#2442] English Check 2022-05-04 19:48:27 +03:00