Better API name, added API descriptions

This commit is contained in:
SChernykh
2024-05-16 18:10:04 +02:00
parent d219b78d4c
commit 08384156e4
4 changed files with 20 additions and 14 deletions

View File

@@ -24,7 +24,7 @@ class Server(http.server.BaseHTTPRequestHandler):
if request['method'] == 'merge_mining_get_chain_id':
response['result'] = {'chain_id':chain_id}
elif request['method'] == 'merge_mining_get_job':
elif request['method'] == 'merge_mining_get_aux_block':
global counter
counter += 1
s = aux_blob + '_' + str(counter // 10)