removed unneeded lines from debug
This commit is contained in:
parent
2ecb980dde
commit
edaaa74470
1 changed files with 0 additions and 2 deletions
2
core.py
2
core.py
|
|
@ -5,7 +5,6 @@ import os
|
||||||
import random
|
import random
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
from datetime import timedelta
|
|
||||||
from logging.handlers import TimedRotatingFileHandler
|
from logging.handlers import TimedRotatingFileHandler
|
||||||
from statistics import median, mean, mode
|
from statistics import median, mean, mode
|
||||||
|
|
||||||
|
|
@ -373,7 +372,6 @@ def get_beacon_gas_prices(speed=None, cache_interval_seconds=10):
|
||||||
try:
|
try:
|
||||||
r = requests.get('https://beacon.pulsechain.com/api/v1/execution/gasnow')
|
r = requests.get('https://beacon.pulsechain.com/api/v1/execution/gasnow')
|
||||||
gas = r.json()
|
gas = r.json()
|
||||||
print(gas)
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
if not gas:
|
if not gas:
|
||||||
logging.debug(e)
|
logging.debug(e)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue