don't cast 'None' to string by accident

This commit is contained in:
Jude Nelson
2017-07-07 13:25:02 -04:00
parent 51e858428d
commit c6250d5349

View File

@@ -472,7 +472,7 @@ class BlockstackAPIEndpointHandler(SimpleHTTPRequestHandler):
else:
# current
blockchain_id = str(decoded_token['payload']['blockchain_id'])
blockchain_id = decoded_token['payload']['blockchain_id']
app_private_key = str(decoded_token['payload']['app_private_key'])
app_public_key = get_pubkey_hex(app_private_key)
app_public_keys = decoded_token['payload']['app_public_keys']