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
I got the problem when I ran the command "getbalance" on testnet. Why is the address wrong?
Traceback (most recent call last):
File "colorcore.py", line 35, in
colorcore.routing.Program.execute()
File "D:\GitHub\colorcore\colorcore\routing.py", line 64, in execute
router.parse(sys.argv[1:])
File "D:\GitHub\colorcore\colorcore\routing.py", line 338, in parse
func(**args)
File "D:\GitHub\colorcore\colorcore\routing.py", line 255, in decorator
self.event_loop.run_until_complete(coroutine_wrapper())
File "C:\Users\lenovo\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py", line 468, in run_until_complete
return future.result()
File "D:\GitHub\colorcore\colorcore\routing.py", line 240, in coroutine_wrapper
result = yield from function(controller, *args, **kwargs)
File "D:\GitHub\colorcore\colorcore\operations.py", line 61, in getbalance
from_address, min_confirmations=self._as_int(minconf), max_confirmations=self._as_int(maxconf))
File "D:\GitHub\colorcore\colorcore\operations.py", line 339, in _get_unspent_outputs
unspent = yield from self.provider.list_unspent(None if address is None else [str(address)], **kwargs)
File "C:\Users\lenovo\AppData\Local\Programs\Python\Python36\lib\asyncio\coroutines.py", line 212, in coro
res = func(*args, **kw)
File "D:\GitHub\colorcore\colorcore\providers.py", line 87, in list_unspent
return self._proxy.listunspent(addrs=addresses, minconf=min_confirmations, maxconf=max_confirmations)
File "C:\Users\lenovo\AppData\Local\Programs\Python\Python36\lib\site-packages\bitcoin\rpc.py", line 378, in listunspent
unspent['address'] = CBitcoinAddress(unspent['address'])
File "C:\Users\lenovo\AppData\Local\Programs\Python\Python36\lib\site-packages\bitcoin\base58.py", line 110, in new
return cls.from_bytes(data, bord(verbyte[0]))
File "C:\Users\lenovo\AppData\Local\Programs\Python\Python36\lib\site-packages\bitcoin\wallet.py", line 50, in from_bytes
raise CBitcoinAddressError('Version %d not a recognized Bitcoin Address' % nVersion)
bitcoin.wallet.CBitcoinAddressError: Version 196 not a recognized Bitcoin Address
The text was updated successfully, but these errors were encountered:
I got the problem when I ran the command "getbalance" on testnet. Why is the address wrong?
Traceback (most recent call last):
File "colorcore.py", line 35, in
colorcore.routing.Program.execute()
File "D:\GitHub\colorcore\colorcore\routing.py", line 64, in execute
router.parse(sys.argv[1:])
File "D:\GitHub\colorcore\colorcore\routing.py", line 338, in parse
func(**args)
File "D:\GitHub\colorcore\colorcore\routing.py", line 255, in decorator
self.event_loop.run_until_complete(coroutine_wrapper())
File "C:\Users\lenovo\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py", line 468, in run_until_complete
return future.result()
File "D:\GitHub\colorcore\colorcore\routing.py", line 240, in coroutine_wrapper
result = yield from function(controller, *args, **kwargs)
File "D:\GitHub\colorcore\colorcore\operations.py", line 61, in getbalance
from_address, min_confirmations=self._as_int(minconf), max_confirmations=self._as_int(maxconf))
File "D:\GitHub\colorcore\colorcore\operations.py", line 339, in _get_unspent_outputs
unspent = yield from self.provider.list_unspent(None if address is None else [str(address)], **kwargs)
File "C:\Users\lenovo\AppData\Local\Programs\Python\Python36\lib\asyncio\coroutines.py", line 212, in coro
res = func(*args, **kw)
File "D:\GitHub\colorcore\colorcore\providers.py", line 87, in list_unspent
return self._proxy.listunspent(addrs=addresses, minconf=min_confirmations, maxconf=max_confirmations)
File "C:\Users\lenovo\AppData\Local\Programs\Python\Python36\lib\site-packages\bitcoin\rpc.py", line 378, in listunspent
unspent['address'] = CBitcoinAddress(unspent['address'])
File "C:\Users\lenovo\AppData\Local\Programs\Python\Python36\lib\site-packages\bitcoin\base58.py", line 110, in new
return cls.from_bytes(data, bord(verbyte[0]))
File "C:\Users\lenovo\AppData\Local\Programs\Python\Python36\lib\site-packages\bitcoin\wallet.py", line 50, in from_bytes
raise CBitcoinAddressError('Version %d not a recognized Bitcoin Address' % nVersion)
bitcoin.wallet.CBitcoinAddressError: Version 196 not a recognized Bitcoin Address
The text was updated successfully, but these errors were encountered: