unknown method error

This commit is contained in:
Jack Robison 2022-03-10 11:46:56 -05:00
parent 4488dafeda
commit 718c1f7d11
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -885,7 +885,7 @@ class LBRYElectrumX(asyncio.Protocol):
elif method == 'blockchain.relayfee':
coro = self.relayfee
else:
raise ValueError
raise RPCError(JSONRPC.METHOD_NOT_FOUND, f'unknown method "{method}"')
else:
raise ValueError
if isinstance(request.args, dict):