From 6dac40d2b2fd64528bf1ca9ac3c79d7909db1299 Mon Sep 17 00:00:00 2001 From: Sarina Date: Mon, 22 Jul 2024 20:16:44 +0330 Subject: [PATCH] Fix bug in traffic limit calculating --- menu.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/menu.sh b/menu.sh index abaf7f4..529c02a 100644 --- a/menu.sh +++ b/menu.sh @@ -28,8 +28,6 @@ hysteria2_add_user_handler() { done read -p "Enter the traffic limit (in GB): " traffic_gb - # Convert GB to bytes (1 GB = 1073741824 bytes) - traffic=$((traffic_gb * 1073741824)) read -p "Enter the expiration days: " expiration_days password=$(pwgen -s 32 1)