Having difficulties playing with ixcoin privkeys. They have a high addr version (138).
ixcoin/src/base58.h:160
#define ADDRESSVERSION ((unsigned char)(fTestNet ? 111 : 138)) //ixcoin
2012-01-26 17:23:19+0800 [HTTPChannel,0,172.16.0.3] 172.16.0.3 - - [26/Jan/2012:09:23:19 +0000] "GET /Info?key=MQhdkZfkga2JruxZxpUd39cB6THeTYBootwszNbjGuRUbRxxxx&msg=&pubkey=&sig=&vers=138&format=reg&need=1 HTTP/1.1" 200 18 "http://172.16.0.110:8989/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1017.2 Safari/535.19"
2012-01-26 17:23:41+0800 [HTTPChannel,0,172.16.0.3] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/twisted/web/http.py", line 807, in requestReceived
self.process()
File "/usr/lib/python2.6/dist-packages/twisted/web/server.py", line 125, in process
self.render(resrc)
File "/usr/lib/python2.6/dist-packages/twisted/web/server.py", line 132, in render
body = resrc.render(self)
File "/usr/lib/python2.6/dist-packages/twisted/web/resource.py", line 210, in render
return m(request)
--- ---
File "pywalletm.py", line 1771, in render_GET
pkey = regenerate_key(sec)
File "pywalletm.py", line 448, in regenerate_key
b = ASecretToSecret(sec)
File "pywalletm.py", line 442, in ASecretToSecret
if vch and vch[0] == chr(addrtype+128):
exceptions.ValueError: chr() arg not in range(256)
138 + 128 > 255 so pywallet failed to translate those keys. Any workarounds?