-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
Something wrong I think with base58 encoding. currently investigating...
python3 colorcore.py issueasset 1LBKEjcZoPyhkm9hUb7XyM3ez3opNzXuXX 10000
Traceback (most recent call last):
File "colorcore.py", line 35, in <module>
colorcore.routing.Program.execute()
File "/home/benjyz/lykke/colorcore/colorcore/routing.py", line 64, in execute
router.parse(sys.argv[1:])
File "/home/benjyz/lykke/colorcore/colorcore/routing.py", line 337, in parse
func(**args)
File "/home/benjyz/lykke/colorcore/colorcore/routing.py", line 254, in decorator
self.event_loop.run_until_complete(coroutine_wrapper())
File "/usr/lib/python3.4/asyncio/base_events.py", line 316, in run_until_complete
return future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 275, in result
raise self._exception
File "/usr/lib/python3.4/asyncio/tasks.py", line 238, in _step
result = next(coro)
File "/home/benjyz/lykke/colorcore/colorcore/routing.py", line 239, in coroutine_wrapper
result = yield from function(controller, *args, **kwargs)
File "/home/benjyz/lykke/colorcore/colorcore/operations.py", line 195, in issueasset
to_address = self._as_any_address(from_address)
File "/home/benjyz/lykke/colorcore/colorcore/operations.py", line 287, in _as_any_address
result = colorcore.addresses.Base58Address.from_string(address)
File "/home/benjyz/lykke/colorcore/colorcore/addresses.py", line 67, in from_string
decoded_bytes = bitcoin.base58.decode(base58)
File "/usr/local/lib/python3.4/dist-packages/bitcoin/base58.py", line 75, in decode
if c not in b58_digits:
TypeError: 'in <string>' requires string as left operand, not int
Metadata
Metadata
Assignees
Labels
No labels