Skip to content

Commit

Permalink
Use user-agent header for version info
Browse files Browse the repository at this point in the history
  • Loading branch information
felixbrucker committed Jul 23, 2022
1 parent d5b8cc8 commit 0c1173d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chives/farmer/pooling/pool_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ async def submit_partial(self, submit_partial: SubmitPartial):
f"{self.base_url}/partial",
json=submit_partial.to_json_dict(),
ssl=self.ssl_context,
headers={"x-client-version": __version__},
headers={"User-Agent": f"Chives Blockchain/{__version__}"},
) as res:
return await res.json()

0 comments on commit 0c1173d

Please sign in to comment.