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():
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue