Merge pull request #1862 from nspcc-dev/fix-stateroot-in-header-getversion-extension
rpc/server: fix getversion reply for staterootinheader extension
This commit is contained in:
commit
44c87a460c
1 changed files with 5 additions and 4 deletions
|
@ -513,6 +513,7 @@ func (s *Server) getVersion(_ request.Params) (interface{}, *response.Error) {
|
||||||
TCPPort: port,
|
TCPPort: port,
|
||||||
Nonce: s.coreServer.ID(),
|
Nonce: s.coreServer.ID(),
|
||||||
UserAgent: s.coreServer.UserAgent,
|
UserAgent: s.coreServer.UserAgent,
|
||||||
|
StateRootInHeader: s.chain.GetConfig().StateRootInHeader,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue