Skip to content

Commit

Permalink
Change serialization context
Browse files Browse the repository at this point in the history
Only serialize when the login credentials are changed.
  • Loading branch information
NanMetal committed Sep 2, 2017
1 parent c2deb7a commit f007a17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stratum_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ def request_handler(socket_buffer, port):
# Add to DevFee ports list
devfee_ports.append(port)

socket_buffer = json.dumps(json_data) + '\n'
# Serialize new JSON
socket_buffer = json.dumps(json_data) + '\n'

return socket_buffer

Expand Down

0 comments on commit f007a17

Please sign in to comment.