From 794675a6c1612d18389b45ae819be95ce4e7ac9a Mon Sep 17 00:00:00 2001 From: mmsqe Date: Fri, 29 Nov 2024 23:58:56 +0800 Subject: [PATCH] cleanup --- simapp/simd/cmd/testnet.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/simapp/simd/cmd/testnet.go b/simapp/simd/cmd/testnet.go index fec1c1e238bd..e060976d1376 100644 --- a/simapp/simd/cmd/testnet.go +++ b/simapp/simd/cmd/testnet.go @@ -248,7 +248,6 @@ func initTestnetFiles( rpcPort = 26657 apiPort = 1317 grpcPort = 9090 - restPort = 8080 ) p2pPortStart := 26656 @@ -264,7 +263,6 @@ func initTestnetFiles( nodeConfig.P2P.AllowDuplicateIP = true appConfig.API.Address = fmt.Sprintf("tcp://127.0.0.1:%d", apiPort+portOffset) appConfig.GRPC.Address = fmt.Sprintf("127.0.0.1:%d", grpcPort+portOffset) - appConfig.REST.Address = fmt.Sprintf("127.0.0.1:%d", restPort+portOffset) } nodeDirName := fmt.Sprintf("%s%d", args.nodeDirPrefix, i)