Merge remote changes with P2P mempool sync fix
This commit is contained in:
@@ -41,7 +41,7 @@ def main():
|
||||
# Run the blockchain FastAPI app
|
||||
import uvicorn
|
||||
logger.info("Starting blockchain FastAPI app on port 8545")
|
||||
uvicorn.run(app, host="0.0.0.0", port=8545)
|
||||
uvicorn.run(app, host="0.0.0.0", port=int(os.environ.get("BLOCKCHAIN_PORT", 8545)))
|
||||
|
||||
except ImportError as e:
|
||||
logger.error(f"Failed to import blockchain app: {e}")
|
||||
@@ -126,7 +126,7 @@ def basic_blockchain_node():
|
||||
activity_thread.start()
|
||||
|
||||
logger.info("Starting basic blockchain API on port 8545")
|
||||
uvicorn.run(app, host="0.0.0.0", port=8545)
|
||||
uvicorn.run(app, host="0.0.0.0", port=int(os.environ.get("BLOCKCHAIN_PORT", 8545)))
|
||||
|
||||
except ImportError:
|
||||
# Fallback to simple heartbeat
|
||||
|
||||
Reference in New Issue
Block a user