Closed vp29 closed 9 years ago
The code shown in the readme does not work with a float value.
h = history(fromWallet) jsonTrans = [{'value': 0.1, 'address': intoWallet}] trans = mktx(h, jsonTrans)
will result in an error on line 73 in main.py : TypeError: string indices must be integers, not float
result = code_string[val % base] + result
Yeah, you need to express values in satoshis.
ok, that makes sense.
The code shown in the readme does not work with a float value.
h = history(fromWallet) jsonTrans = [{'value': 0.1, 'address': intoWallet}] trans = mktx(h, jsonTrans)
will result in an error on line 73 in main.py : TypeError: string indices must be integers, not float
result = code_string[val % base] + result