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():
def jsonrpc_stop(self): # pylint: disable=no-self-use
"""
Stop lbrynet API server.
@ -841,8 +840,7 @@ class Daemon(metaclass=JSONRPCServerType):
response[component.component_name] = status
return response
@staticmethod
def jsonrpc_version():
def jsonrpc_version(self): # pylint: disable=no-self-use
"""
Get lbrynet API server version information