Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use user-agent header for version info
Browse files Browse the repository at this point in the history
felixbrucker committed Jul 23, 2022

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 99532f7 commit 87c116e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chia/farmer/pooling/pool_api_client.py
Original file line number Diff line number Diff line change
@@ -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"Chia Blockchain/{__version__}"},
) as res:
return await res.json()

0 comments on commit 87c116e

Please sign in to comment.