diff --git a/packages/evm-wallet-experiment/test/integration/openclaw-plugin.integration.test.ts b/packages/evm-wallet-experiment/test/integration/openclaw-plugin.integration.test.ts index 1b22de4b8..da61fc7cf 100644 --- a/packages/evm-wallet-experiment/test/integration/openclaw-plugin.integration.test.ts +++ b/packages/evm-wallet-experiment/test/integration/openclaw-plugin.integration.test.ts @@ -233,7 +233,7 @@ exec "${process.execPath}" "${ocapCliEntrypoint}" "$@" throw new Error('Failed to start test RPC server'); } rpcUrl = `http://127.0.0.1:${String(address.port)}`; - const allowedRpcHost = new URL(rpcUrl).host; + const allowedRpcHost = new URL(rpcUrl).hostname; await runOcap(['daemon', 'start']); const launchResponse = (await runOcapJson([