mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-24 03:45:38 +08:00
force string
This commit is contained in:
@@ -773,7 +773,7 @@ class BlockstackAPIEndpointHandler(SimpleHTTPRequestHandler):
|
||||
|
||||
# make sure the address is in the right format
|
||||
blockchain_network = os.environ.get("BLOCKSTACK_RPC_MOCK_BLOCKCHAIN_NETWORK", None)
|
||||
ret['address'] = virtualchain.address_reencode(ret['address'], network=blockchain_network)
|
||||
ret['address'] = virtualchain.address_reencode(str(ret['address']), network=blockchain_network)
|
||||
|
||||
self._reply_json(ret)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user