From 3a6322c6c6abbc27c580309c9935856cb77e5dce Mon Sep 17 00:00:00 2001 From: Kevin Date: Tue, 30 Jun 2020 17:16:33 -0500 Subject: [PATCH] Remove _delay_wait_for_share_block_removal because it doesn't seem to exist --- src/httpapi/miscclientapi/endpoints.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/httpapi/miscclientapi/endpoints.py b/src/httpapi/miscclientapi/endpoints.py index 348f5af6..90e6d48b 100644 --- a/src/httpapi/miscclientapi/endpoints.py +++ b/src/httpapi/miscclientapi/endpoints.py @@ -8,7 +8,6 @@ import platform from flask import Response, Blueprint, request, send_from_directory, abort from flask import g -from gevent import spawn import unpaddedbase32 from httpapi import apiutils @@ -41,6 +40,7 @@ pub_key = onionrcrypto.pub_key.replace('=', '') SCRIPT_NAME = os.path.dirname(os.path.realpath(__file__)) + \ f'/../../../{onionrvalues.SCRIPT_NAME}' + class PrivateEndpoints: def __init__(self, client_api): private_endpoints_bp = Blueprint('privateendpoints', __name__) @@ -75,7 +75,7 @@ class PrivateEndpoints: raise ValueError('block hash needs to be alpha numeric') name = reconstructhash.reconstruct_hash(name) if name in client_api.publicAPI.hideBlocks: - spawn(_delay_wait_for_share_block_removal) + #spawn(_delay_wait_for_share_block_removal) return Response("will be removed") else: client_api.publicAPI.hideBlocks.append(name)