Fix payment service: update exchange API URL from port 23000 to 8001
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 13s
Integration Tests / test-service-integration (push) Successful in 2m27s
Python Tests / test-python (push) Successful in 8s
Security Scanning / security-scan (push) Successful in 25s
Node Failover Simulation / failover-test (push) Failing after 18s
P2P Network Verification / p2p-verification (push) Successful in 3s
Multi-Node Blockchain Health Monitoring / health-check (push) Failing after 3s
Blockchain Synchronization Verification / sync-verification (push) Failing after 3s

This commit is contained in:
aitbc
2026-04-28 21:21:31 +02:00
parent f0ef4619e9
commit 6182108d6c

View File

@@ -23,7 +23,7 @@ class PaymentService:
def __init__(self, session: Annotated[Session, Depends(get_session)]):
self.session = session
self.wallet_base_url = "http://127.0.0.1:20000" # Wallet daemon URL
self.exchange_base_url = "http://127.0.0.1:23000" # Exchange API URL
self.exchange_base_url = "http://127.0.0.1:8001" # Exchange API URL
async def create_payment(self, job_id: str, payment_data: JobPaymentCreate) -> JobPayment:
"""Create a new payment for a job with ACID compliance"""