From 84e653d2849c6872cf761c3fcc06c3172db870c6 Mon Sep 17 00:00:00 2001 From: hailin Date: Sun, 7 Dec 2025 02:11:57 -0800 Subject: [PATCH] fix(mpc-service): add /api/v1 prefix to blockchain-service calls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit blockchain-service uses global API prefix, need to include it in URLs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../external/blockchain/blockchain-client.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/services/mpc-service/src/infrastructure/external/blockchain/blockchain-client.service.ts b/backend/services/mpc-service/src/infrastructure/external/blockchain/blockchain-client.service.ts index b3044310..6e3ba935 100644 --- a/backend/services/mpc-service/src/infrastructure/external/blockchain/blockchain-client.service.ts +++ b/backend/services/mpc-service/src/infrastructure/external/blockchain/blockchain-client.service.ts @@ -51,7 +51,7 @@ export class BlockchainClientService { try { const response = await firstValueFrom( this.httpService.post( - `${this.blockchainServiceUrl}/internal/derive-address`, + `${this.blockchainServiceUrl}/api/v1/internal/derive-address`, { userId: params.userId, publicKey: params.publicKey, @@ -86,7 +86,7 @@ export class BlockchainClientService { try { const response = await firstValueFrom( this.httpService.get<{ userId: string; addresses: DerivedAddress[] }>( - `${this.blockchainServiceUrl}/internal/user/${userId}/addresses`, + `${this.blockchainServiceUrl}/api/v1/internal/user/${userId}/addresses`, { timeout: 30000, },