From 6adc465b1371d4579758e5b7600702479e8de4db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=BDiga=20Kokelj?= Date: Wed, 27 Dec 2023 16:46:37 +0100 Subject: [PATCH] fix rpc url --- contracts/tasks/ten-gateway.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/tasks/ten-gateway.ts b/contracts/tasks/ten-gateway.ts index ac5630bb98..7996dc5d0b 100644 --- a/contracts/tasks/ten-gateway.ts +++ b/contracts/tasks/ten-gateway.ts @@ -10,10 +10,10 @@ import http from 'http'; task("ten:gateway:start:local") .addFlag('withStdOut') - .addParam('rpcUrl', "Node rpc endpoint where the Ten gateway should connect to.") + .addParam('rpcurl', "Node rpc endpoint where the Ten gateway should connect to.") .addOptionalParam('port', "Port that the Ten gateway will open for incoming requests.", "3001") .setAction(async function(args, hre) { - const nodeUrl = url.parse(args.rpcUrl); + const nodeUrl = url.parse(args.rpcurl); const tenGatewayPath = path.resolve(hre.config.paths.root, "../tools/walletextension/bin/wallet_extension_linux"); const weProcess = spawn(tenGatewayPath, [ `-portWS`, `${args.port}`,