You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/usr/lib/python2.7/site-packages/btctxstore/api.py", line 191, in sign_unicode
return self.sign_data(wif, hexdata)
File "/usr/lib/python2.7/site-packages/btctxstore/api.py", line 174, in sign_data
sigdata = control.sign_data(self.testnet, data, key)
File "/usr/lib/python2.7/site-packages/btctxstore/control.py", line 300, in sign_data
sig = _add_recovery_params(i, compressed, sigdata)
File "/usr/lib/python2.7/site-packages/btctxstore/control.py", line 283, in _add_recovery_params
return struct.pack(">B", params) + sigdata
TypeError: Struct() argument 1 must be string, not unicode
The text was updated successfully, but these errors were encountered:
wolfch [11:00]
If I patch the affected line: return struct.pack(">B", params) + sigdata
By encoding the stirng: return struct.pack(">B".encode('ascii'), params) + sigdata
Then everything works fine....
Source StorjOld/dataserv-client#83 (comment)
The text was updated successfully, but these errors were encountered: