diff options
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/api/groups.py')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/api/groups.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/api/groups.py b/packages/meshbay-hub/src/meshbay_hub/api/groups.py index 3a11345..52d9f60 100644 --- a/packages/meshbay-hub/src/meshbay_hub/api/groups.py +++ b/packages/meshbay-hub/src/meshbay_hub/api/groups.py @@ -255,10 +255,6 @@ async def swarm_register( Availability: the endpoint is a port, not an address, and the number of hashes one account may claim is bounded. See the two constants above. """ - from meshbay_hub.csam import check_content_hash - if check_content_hash(body.content_hash): - raise HTTPException(status_code=451, detail="Content blocked") - m = _SWARM_ENDPOINT.match(body.endpoint or "") if not m or not (0 < int(m.group(2)) < 65536): raise HTTPException( |