From ba822f61a40a817a0103e1b7d2ad8b94506e0199 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Mon, 7 Oct 2024 21:14:04 -0500 Subject: [PATCH] fix: GetFullNode just to call GetNode() due to NPEs --- chain/cosmos/cosmos_chain.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/chain/cosmos/cosmos_chain.go b/chain/cosmos/cosmos_chain.go index f3ec21076..e69472341 100644 --- a/chain/cosmos/cosmos_chain.go +++ b/chain/cosmos/cosmos_chain.go @@ -212,10 +212,6 @@ func (c *CosmosChain) Initialize(ctx context.Context, testName string, cli *clie } func (c *CosmosChain) GetFullNode() *ChainNode { - if len(c.FullNodes) > 0 { - return c.FullNodes[0] - } - return c.GetNode() }