mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-03 01:41:48 +00:00
core: drop GetStandBy* methods
They're misleading now that we have variable number of committee members/validators. The standby list can be seen in the configuration and the appropriate numbers can be received from it also.
This commit is contained in:
parent
e621f746a7
commit
cda1c75db3
11 changed files with 69 additions and 72 deletions
|
@ -699,8 +699,7 @@ var rpcTestCases = map[string][]rpcTestCase{
|
|||
{
|
||||
params: "[]",
|
||||
result: func(e *executor) interface{} {
|
||||
// it's a test chain, so committee is a sorted standby committee
|
||||
expected := e.chain.GetStandByCommittee()
|
||||
expected, _ := e.chain.GetCommittee()
|
||||
sort.Sort(expected)
|
||||
return &expected
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue