Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

blockchaininterfaces other than BitcoinCoreInterface don't sync imported privkeys #734

Open
chris-belcher opened this issue Apr 16, 2017 · 0 comments

Comments

@chris-belcher
Copy link
Collaborator

chris-belcher commented Apr 16, 2017

Noticed this while reading their source code

To fix, something like this code..

request = urllib2.Request('http://localhost:' + str(
self.base_server.server_address[1] + 1) + self.path)
request.get_method = lambda: 'HEAD'
try:
urllib2.urlopen(request)
except urllib2.URLError:
pass
self.send_response(200)
# self.send_header('Connection', 'close')
self.end_headers()

..must be added to each of their sync_addresses() function

Also nobody noticed for the months and months that the importing privkey feature has existed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant