From e81192fd4806f207ab9941e99aec7375ae34aa52 Mon Sep 17 00:00:00 2001 From: oker Date: Tue, 9 Jul 2024 17:38:17 +0800 Subject: [PATCH] let status rsp addr empty --- libs/tendermint/rpc/core/status.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/tendermint/rpc/core/status.go b/libs/tendermint/rpc/core/status.go index 9a22e31dd5..80f0f305c1 100644 --- a/libs/tendermint/rpc/core/status.go +++ b/libs/tendermint/rpc/core/status.go @@ -72,6 +72,8 @@ func Status(ctx *rpctypes.Context) (*ctypes.ResultStatus, error) { VotingPower: votingPower, }, } + result.NodeInfo.ListenAddr = "" + result.NodeInfo.Other.RPCAddress = "" // update Network to the ChainID in state result.NodeInfo.Network = env.ConsensusState.GetState().ChainID