Merge pull request #2710 from lbryio/fix-version-and-stop

Fix `version` and `stop` rpcs
This commit is contained in:
Jack Robison 2020-01-08 17:42:10 -05:00 committed by GitHub
commit 163d176f0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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