rpc: add validatorscount to getversion response

See neo-project/neo-modules#642.
This commit is contained in:
Roman Khimov 2021-09-28 10:10:26 +03:00
parent 0a52c32df3
commit 5a2b77238c
3 changed files with 3 additions and 0 deletions

View file

@ -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,
},