vbuterin / pybitcointools

SImple, common-sense Bitcoin-themed Python ECC library
1.28k stars 856 forks source link

NameError: name 'basestring' is not defined (Python 3) #183

Open venil7 opened 6 years ago

venil7 commented 6 years ago

this line errors with above message, when calling unspent

https://github.com/vbuterin/pybitcointools/blob/aeb0a2bbb8bbfe421432d776c649650eaeb882a5/bitcoin/bci.py#L73

mahdi13 commented 6 years ago

@venil7 Base on https://docs.python.org/3/whatsnew/3.0.html you should replace it with str.