Add info about blockbook to getInfo socket.io request
This commit is contained in:
parent
806ef2cf84
commit
8535786ce3
@ -611,6 +611,7 @@ type resultGetInfo struct {
|
||||
Network string `json:"network,omitempty"`
|
||||
Subversion string `json:"subversion,omitempty"`
|
||||
LocalServices string `json:"localServices,omitempty"`
|
||||
About string `json:"about,omitempty"`
|
||||
} `json:"result"`
|
||||
}
|
||||
|
||||
@ -623,6 +624,7 @@ func (s *SocketIoServer) getInfo() (res resultGetInfo, err error) {
|
||||
res.Result.Testnet = s.chain.IsTestnet()
|
||||
res.Result.Network = s.chain.GetNetworkName()
|
||||
res.Result.Subversion = s.chain.GetSubversion()
|
||||
res.Result.About = blockbookAbout
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user