Correct jsonrpc version json key

This commit is contained in:
nolash 2021-04-23 22:02:47 +02:00
parent 729ada00e2
commit 6cbaa22a7d
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 3 additions and 3 deletions

View File

@ -143,7 +143,7 @@ methods = {
def jsonrpc_error(rpc_id, err):
return {
'json-rpc': '2.0',
'jsonrpc': '2.0',
'id': rpc_id,
'error': {
'code': err.CODE,
@ -154,7 +154,7 @@ def jsonrpc_error(rpc_id, err):
def jsonrpc_ok(rpc_id, response):
return {
'json-rpc': '2.0',
'jsonrpc': '2.0',
'id': rpc_id,
'result': response,
}

View File

@ -33,7 +33,7 @@ f.close()
setup(
name="crypto-dev-signer",
version="0.4.14b2",
version="0.4.14b3",
description="A signer and keystore daemon and library for cryptocurrency software development",
author="Louis Holbrook",
author_email="dev@holbrook.no",