Merge pull request #2710 from lbryio/fix-version-and-stop
Fix `version` and `stop` rpcs
This commit is contained in:
commit
163d176f0a
1 changed files with 2 additions and 4 deletions
|
@ -714,8 +714,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
||||||
# #
|
# #
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
@staticmethod
|
def jsonrpc_stop(self): # pylint: disable=no-self-use
|
||||||
def jsonrpc_stop():
|
|
||||||
"""
|
"""
|
||||||
Stop lbrynet API server.
|
Stop lbrynet API server.
|
||||||
|
|
||||||
|
@ -841,8 +840,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
||||||
response[component.component_name] = status
|
response[component.component_name] = status
|
||||||
return response
|
return response
|
||||||
|
|
||||||
@staticmethod
|
def jsonrpc_version(self): # pylint: disable=no-self-use
|
||||||
def jsonrpc_version():
|
|
||||||
"""
|
"""
|
||||||
Get lbrynet API server version information
|
Get lbrynet API server version information
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue