Deleting debug prints

This commit is contained in:
Gabriel Mermelstein 2023-10-30 16:39:10 +02:00
parent a8c8bbd09f
commit bdb09db29e
No known key found for this signature in database
GPG Key ID: 306734DDCE542DCD
2 changed files with 1 additions and 4 deletions

View File

@ -2,7 +2,7 @@
IP=$(ip a | grep "inet " | grep -Fv 127.0.0.1 | sed 's/.*inet \([^/]*\).*/\1/')
echo "My container name is: $HOSTNAME"
echo "I am a nwaku node"
# Get an unique node index based on the container's IP
FOURTH_OCTET=${IP##*.}
@ -10,8 +10,6 @@ THIRD_OCTET="${IP%.*}"; THIRD_OCTET="${THIRD_OCTET##*.}"
NODE_INDEX=$((FOURTH_OCTET + 256 * THIRD_OCTET))
echo "NODE_INDEX $NODE_INDEX"
echo "$IP"
RETRIES=${RETRIES:=10}

View File

@ -32,7 +32,6 @@ def send_waku_msg(node_address, kbytes, pubsub_topic, content_topic):
try:
print("Sending request")
response = requests.post(url, json=body, headers=headers)
print("Got response", response)
except Exception as e:
print(f"Error sending request: {e}")