def create_address(): public_key, private_key = BlockChain.generate_keys() data = { "public_key": public_key, "private_key": private_key, } return jsonify(data)
def create_address(): public_key, private_key = BlockChain.generate_keys() data = { "public_key": public_key, "private_key": private_key, } return jsonify(SEND_DATA(data)) # Change this to previous