Skip to content

Commit

Permalink
enabled mining extensions header
Browse files Browse the repository at this point in the history
  • Loading branch information
m0mchil committed Aug 9, 2012
1 parent 572311a commit f94a91e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HttpTransport.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def stop(self):
def set_server(self, server): def set_server(self, server):
super(HttpTransport, self).set_server(server) super(HttpTransport, self).set_server(server)
user, pwd = server[1:3] user, pwd = server[1:3]
self.headers = {"User-Agent": self.user_agent, "Authorization": 'Basic ' + b64encode('%s:%s' % (user, pwd))}#, "X-Mining-Extensions": 'hostlist midstate rollntime'} self.headers = {"User-Agent": self.user_agent, "Authorization": 'Basic ' + b64encode('%s:%s' % (user, pwd)), "X-Mining-Extensions": 'hostlist midstate rollntime'}
self.long_poll_url = '' self.long_poll_url = ''
if self.connection: if self.connection:
self.connection.close() self.connection.close()
Expand Down

0 comments on commit f94a91e

Please sign in to comment.