rpc: add validatorscount to getversion response
See neo-project/neo-modules#642.
This commit is contained in:
parent
0a52c32df3
commit
5a2b77238c
3 changed files with 3 additions and 0 deletions
|
@ -536,6 +536,7 @@ func (s *Server) getVersion(_ request.Params) (interface{}, *response.Error) {
|
|||
MaxValidUntilBlockIncrement: cfg.MaxValidUntilBlockIncrement,
|
||||
MaxTransactionsPerBlock: cfg.MaxTransactionsPerBlock,
|
||||
MemoryPoolMaxTransactions: cfg.MemPoolSize,
|
||||
ValidatorsCount: byte(cfg.ValidatorsCount),
|
||||
InitialGasDistribution: cfg.InitialGASSupply,
|
||||
StateRootInHeader: cfg.StateRootInHeader,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue